> You can use $ENV{CPLUS_INCLUDE_PATH} to get the contents of the path.
>

I tried to do this:
INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} $ENV{CPLUS_INCLUDE_PATH})

but it still doesn't find the files (which it DOES find if I specify
the path directly, ie.
INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} /usr/lib/qt-3.3/include/)

and the path is definitely in CPLUS_INCLUDE_PATH:
echo $CPLUS_INCLUDE_PATH
:/home/doriad/src/glui-2.36/src/include/GL:/home/doriad/src/CGAL-3.5/include:/usr/lib/qt-3.3/include/

Thoughts?

Thanks,

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