Slackware-current: /usr/share/cmake and /usr/share/cmake-3.3 directories
I was trying to add 'find_package(Xcm)' to a CMakeLists.txt and found that the current Slackware libXcm-0.5.2 package installs Xcm cmake module FindXcm.cmake to /usr/share/cmake instead of the cmake default /usr/share/cmake-3.3 . Thus, cmake could not find "FindXcm.cmake" in CMAKE_MODULE_PATH.
Two other packages, libproxy-0.4.11 and shared-desktop-ontologies-0.11.0 install their cmake modules to /usr/share/cmake as well. I am wondering, if this is by design in order to not mix various cmake versions? I've copied all the content /usr/share/cmake files to the /usr/share/cmake-3.3 and made a link ln -s cmake-3.3 cmake, which solved my cmake build problems, but perhaps this is not the best solution?
|