jago jagoc wrote:
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 } )
...

You need to remove the extra space...

INCLUDE_DIRECTORIES( ${MYINCLUDE_DIR} )

-Bill
_______________________________________________
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

Reply via email to