diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-10 21:11:57 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-10 21:11:57 (GMT) |
commit | 1f7e8e6f0bfc19f68fc8009852919866940ae90c (patch) | |
tree | 3979a1636cfb56933b30c6611d4f252412de7866 | |
parent | 9f2ee61cc81bc09c2b751e7133427011fb44a241 (diff) | |
download | CMake-1f7e8e6f0bfc19f68fc8009852919866940ae90c.zip CMake-1f7e8e6f0bfc19f68fc8009852919866940ae90c.tar.gz CMake-1f7e8e6f0bfc19f68fc8009852919866940ae90c.tar.bz2 |
ENH: add the ecos include dir and the ecos definitions by default
Alex
-rw-r--r-- | Modules/Platform/eCos.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/eCos.cmake b/Modules/Platform/eCos.cmake index 14b61b7..9805965 100644 --- a/Modules/Platform/eCos.cmake +++ b/Modules/Platform/eCos.cmake @@ -38,6 +38,8 @@ IF(NOT ECOS_SYSTEM_CONFIG_HEADER_PATH) ENDIF(NOT ECOS_SYSTEM_CONFIG_HEADER_PATH) GET_FILENAME_COMPONENT(ECOS_LIBTARGET_DIRECTORY "${ECOS_SYSTEM_CONFIG_HEADER_PATH}" PATH) +INCLUDE_DIRECTORIES(${ECOS_SYSTEM_CONFIG_HEADER_PATH}) +ADD_DEFINITIONS(-D__ECOS__=1 -D__ECOS=1) SET(ECOS_LIBTARGET_DIRECTORY "${ECOS_LIBTARGET_DIRECTORY}/lib") # special link commands for eCos executables |