I think I am confused by the following: 1) CMAKE_PREFIX_PATH;
Problematic (scribus) CMakeLists.txt: set(CMAKE_PREFIX_PATH "${QT_PREFIX}/lib/cmake") CMakeCache.txt: //No help, variable specified on the command line. CMAKE_PREFIX_PATH:PATH=/usr/pkg/qt5 So the problem was that CMakeLists.txt overwrote the command line. Removing the set() line made things work 2) CMAKE_MODULE_PATH CMakeLists.txt (with extras to debug): set (CMAKE_MODULE_PATH "/usr/obj/pkgsrc/print/scribus5/work.x86_64/.buildlink/cmake-Modules" "one" "two" "/usr/obj/pkgsrc/print/scribus5/work.x86_64/.buildlink/cmake-Modules" "${CMAKE_SOURCE_DIR}/cmake/modules") set(testpath ${CMAKE_MODULE_PATH} CACHE PATH "testing path") CMakeCache.txt: //No help, variable specified on the command line. CMAKE_MODULE_PATH:PATH=/usr/obj/pkgsrc/print/scribus5/work.x86_64/.buildlink/cmake-Modules //testing path testpath:PATH=/usr/obj/pkgsrc/print/scribus5/work.x86_64/.buildlink/cmake-Modules;one;two;/usr/obj/pkgsrc/print/scribus5/work.x86_64/.buildlink/cmake-Modules;/usr/obj/pkgsrc/print/scribus5/work.x86_64/scribus-1.5.3/cmake/modules So here, it seems the command line overwrites CMakeLists.txt ?! Cheers, Patrick -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake