[CMake] bug or feature ? relative paths with INCLUDE_DIRECTORIES()
in cmake 2.4.1
Alexander Neundorf
a.neundorf-work at gmx.net
Thu May 11 19:26:20 EDT 2006
Hi,
is it a bug or a feature ?
The following CMakeLists.txt:
include_directories( foo ${CMAKE_CURRENT_SOURCE_DIR}/bar)
add_executable(hello main.c)
produces the flags:
gcc ... -I/home/alex/src/test/bar -Ifoo
I would have expected that foo is also interpreted as relative to
CMAKE_CURRENT_SOURCE_DIR, but apparently it isn't.
Bug or feature ?
Bye
Alex
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
More information about the CMake
mailing list