[opengtl-commits] [200] compile fix for system without an allready installed OpenCTL... |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 200
Author: cyrille
Date: 2008-06-16 22:06:53 +0200 (Mon, 16 Jun 2008)
Log Message:
-----------
compile fix for system without an allready installed OpenCTL...
Modified Paths:
--------------
tags/OpenGTL/0.9.2/OpenCTL/OpenCTL/CMakeLists.txt
Modified: tags/OpenGTL/0.9.2/OpenCTL/OpenCTL/CMakeLists.txt
===================================================================
--- tags/OpenGTL/0.9.2/OpenCTL/OpenCTL/CMakeLists.txt 2008-06-16 20:03:15 UTC (rev 199)
+++ tags/OpenGTL/0.9.2/OpenCTL/OpenCTL/CMakeLists.txt 2008-06-16 20:06:53 UTC (rev 200)
@@ -18,18 +18,18 @@
add_library(OpenCTL SHARED ${OpenCTL_SRCS})
target_link_libraries(OpenCTL GTLCore )
-add_definitions( OpenCTL "${LLVM_COMPILE_FLAGS}")
+add_definitions( "${LLVM_COMPILE_FLAGS}")
if (NOT APPLE)
- add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_=\\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\\")
- add_definitions( OpenCTL -D_OPENCTL_LIB_INSTALL_=\\"${CMAKE_INSTALL_PREFIX}/lib/\\")
- add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_SRC_DIR_=\\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\\")
- add_definitions( OpenCTL -D_OPENCTL_CTL_SHARE_DIR_=\\"${SHARE_INSTALL_DIR}/ctl\\" )
+ add_definitions( -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_=\\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\\")
+ add_definitions( -D_OPENCTL_LIB_INSTALL_=\\"${CMAKE_INSTALL_PREFIX}/lib/\\")
+ add_definitions( -D_OPENCTL_CTL_STD_LIB_SRC_DIR_=\\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\\")
+ add_definitions( -D_OPENCTL_CTL_SHARE_DIR_=\\"${SHARE_INSTALL_DIR}/ctl\\" )
else (NOT APPLE)
- add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_='\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\"')
- add_definitions( OpenCTL -D_OPENCTL_LIB_INSTALL_='\"${CMAKE_INSTALL_PREFIX}/lib/\"')
- add_definitions( OpenCTL -D_OPENCTL_CTL_STD_LIB_SRC_DIR_='\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\"')
- add_definitions( OpenCTL -D_OPENCTL_CTL_SHARE_DIR_='\"${SHARE_INSTALL_DIR}/ctl\"' )
+ add_definitions( -D_OPENCTL_CTL_STD_LIB_BUILD_DIR_='\"${CMAKE_CURRENT_BINARY_DIR}/../CtlStdLib/\"')
+ add_definitions( -D_OPENCTL_LIB_INSTALL_='\"${CMAKE_INSTALL_PREFIX}/lib/\"')
+ add_definitions( -D_OPENCTL_CTL_STD_LIB_SRC_DIR_='\"${CMAKE_CURRENT_SOURCE_DIR}/../CtlStdLib/\"')
+ add_definitions( -D_OPENCTL_CTL_SHARE_DIR_='\"${SHARE_INSTALL_DIR}/ctl\"' )
endif(NOT APPLE)