Hi there!

Is it possible to set an global include path as environment variable
for cmake? I want cmake to search the path for include files when
using the find_package command.

At the moment I have the following line in my CMakeLists.txt

set(CMAKE_INCLUDE_PATH "C:/Program Files/Microsoft
SDKs/Windows/v6.0A/Include" ${CMAKE_INCLUDE_PATH})

Which, well.. works, but is kinda hacky. Is it possible to set this as
an environment variable for cmake? Or any way to setup this before
configuring without editing the CMakeLists.txt?

Would be nice if someone had a suggestion for my problem.
Regards,
Dennis
_______________________________________________
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