[CMake] CMAKE_MODULE_PATH

John Vines (CISD/HPCD) jvines at arl.army.mil
Tue Mar 3 11:23:50 EST 2009


All,
    What is the correct syntax to add a module directory to the default 
module path?

    I am trying to append my module directory to the default module path 
using this:
    SET(MY_MODULE_DIR /home/jvines/Devel/CMAKE_MODULES)
    SET(CMAKE_MODULE_PATH  ${CMAKE_MODULE_PATH} ${MY_MODULE_DIR})

    It doesn't seem to be working.

Thanks in advance,
John



More information about the CMake mailing list