I am having a problem when I include INCLUDE_DIRECTORIES(${SOMEVAR}) within my project. The generated CFLAGS (under linux) include my CMAKE_SOURCE_DIR appended with my ${SOMEVAR}, ie:

SOMEVAR="/usr/include/openssl/"

upon compilation:
-I/home/rphillips/work/project/-I/usr/include/openssl

Does anyone know what is going on?

Regards
-Ryan
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to