[CMake] Question about CMAKE_MODULE_PATH

Workbench@gmx.at workbench at gmx.at
Mon Feb 18 10:48:20 EST 2019


Hi everyone,


i try to load custom modules. i use


list(append CMAKE_MODULE_PATH "/mypathtomdoules")

and then i try to load the module with

include(mymodule)

but he can't find it. now i tried to output the content of 
CMAKE_MODULE_PATH with the cmake_print_variable from the 
CMakePrintHelpers module and the output of

cmake_print_variables(CMAKE_MODULE_PATH) is "" ...


what's going on here ?


best regards!



More information about the CMake mailing list