ENH: add the ecos include dir and the ecos definitions by default

Alex
This commit is contained in:
Alexander Neundorf 2007-07-10 17:11:57 -04:00
parent 9f2ee61cc8
commit 1f7e8e6f0b
1 changed files with 2 additions and 0 deletions

View File

@ -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