Hi, I am some problem using INCLUDE_DIRECTORIES macro, i am using Cmake 2.6 - path 0 and Visual studio 2005. In my Cmakelist.txt
... SET(MYINCLUDE_DIR "../3rdParty/include" CACHE STRING "My include dir You may add additional search paths here. Use ; to separate multiple paths.") INCLUDE_DIRECTORIES( ${MYINCLUDE_DIR } ) ... When i generate the solution by cmake in visual studio2005 i find in C++ properties the absolute path to the project plus ${MYINCLUDE_DIR }, i would like to add only a relative path( e.x. ../3rdParty/include) or a variable that i can set after the project generation(e.x in the c++ properties i woud like to find $(Myincludedir)). Thanks you, best regards Jagovic _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake