We can install in /usr/lib/cmake/cmake-extras, but that is not backward
compatible.

cmake looks in CMAKE_MODULE_PATH for additional modules but, by default,
CMAKE_MODULE_PATH is empty, so the extra modules are not found. The only
place cmake looks at by default appears to be ${CMAKE_ROOT}/Modules,
unfortunately.

We can make this change, but all projects using cmake-extras will have
to set CMAKE_MODULE_PATH explicitly:

set(CMAKE_MODULE_PATH /usr/lib/cmake/cmake-extras)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1563573

Title:
  Modules installed in CMAKE_ROOT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake-extras/+bug/1563573/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to