diff options
Diffstat (limited to 'Modules/Platform/eCos.cmake')
-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 |