summaryrefslogtreecommitdiff
path: root/Modules/Platform/eCos.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-10 17:11:57 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-07-10 17:11:57 -0400
commit1f7e8e6f0bfc19f68fc8009852919866940ae90c (patch)
tree3979a1636cfb56933b30c6611d4f252412de7866 /Modules/Platform/eCos.cmake
parent9f2ee61cc81bc09c2b751e7133427011fb44a241 (diff)
downloadcmake-1f7e8e6f0bfc19f68fc8009852919866940ae90c.tar.gz
ENH: add the ecos include dir and the ecos definitions by default
Alex
Diffstat (limited to 'Modules/Platform/eCos.cmake')
-rw-r--r--Modules/Platform/eCos.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/eCos.cmake b/Modules/Platform/eCos.cmake
index 14b61b7ff3..9805965fca 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