[CMake] INCLUDE_DIRECTORIES includes two directories appended
together
Brad King
brad.king at kitware.com
Thu Sep 7 10:35:28 EDT 2006
Ryan Phillips wrote:
> 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?
I cannot duplicate this. From where is the
/home/rphillips/work/project/ path coming into the include directory list?
-Brad
More information about the CMake
mailing list