]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Porting SALOME KERNEL to CMake: add missing flags
authorana <ana@opencascade.com>
Wed, 26 Sep 2012 13:03:10 +0000 (13:03 +0000)
committerana <ana@opencascade.com>
Wed, 26 Sep 2012 13:03:10 +0000 (13:03 +0000)
src/LifeCycleCORBA_SWIG/CMakeLists.txt

index 2e98f4c59e05c24194f03ea9747360ae143ab68d..57da32c3481a59e0f8eb47202267926f6feb2551 100755 (executable)
@@ -42,6 +42,7 @@ INCLUDE_DIRECTORIES(
 SWIG_ADD_MODULE(libSALOME_LifeCycleCORBA python libSALOME_LifeCycleCORBA.i)
 SWIG_LINK_LIBRARIES(libSALOME_LifeCycleCORBA ${PYTHON_LIBS} SalomeLifeCycleCORBA)
 SET_TARGET_PROPERTIES(_libSALOME_LifeCycleCORBA PROPERTIES COMPILE_FLAGS "${PLATFORM_LIBS}")
+SET_TARGET_PROPERTIES(_libSALOME_LifeCycleCORBA PROPERTIES COMPILE_FLAGS "${PLATFORM_DEFINITIONS}")
 
 IF(${MACHINE} STREQUAL WINDOWS)
   SET_TARGET_PROPERTIES(_libSALOME_LifeCycleCORBA PROPERTIES DEBUG_OUTPUT_NAME _libSALOME_LifeCycleCORBA_d)