[CMake] relative CMAKE_MODULE_PATH

Philip Lowman philip at yhbt.com
Mon Feb 16 07:39:20 EST 2009




...... Original Message .......
On Mon, 16 Feb 2009 12:45:06 +0100 "Eric Noulard" <eric.noulard at gmail.com> 
wrote:
>2009/2/16 Pau Garcia i Quiles <pgquiles at elpauer.org>:
>> This works for me with CMake CVS:
>>
>> SET( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake )
>
>Yes I do that too but...
>this is not a relative path :-)

Try using CMAKE_CURRENT_SOURCE_DIR

-- 
Philip Lowman


More information about the CMake mailing list