From 1f7e8e6f0bfc19f68fc8009852919866940ae90c Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 10 Jul 2007 17:11:57 -0400 Subject: [PATCH] ENH: add the ecos include dir and the ecos definitions by default Alex --- Modules/Platform/eCos.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Platform/eCos.cmake b/Modules/Platform/eCos.cmake index 14b61b7ff..9805965fc 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