]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix compilation problem
authormnt <mnt@opencascade.com>
Wed, 11 Feb 2015 10:28:13 +0000 (13:28 +0300)
committermnt <mnt@opencascade.com>
Wed, 11 Feb 2015 10:30:33 +0000 (13:30 +0300)
src/DSC/ParallelDSC/CMakeLists.txt

index 8f40f1ca6c83f28780737e44c56806c3e419b0f6..96d83f0dc868cf6a418fafe130a73c00c7a8bebd 100755 (executable)
@@ -36,7 +36,7 @@ INCLUDE_DIRECTORIES(
   ${PROJECT_BINARY_DIR}/salome_adm
 )
 
-SET(COMMON_FLAGS
+ADD_DEFINITIONS(
   ${OMNIORB_DEFINITIONS}
   ${MPI_DEFINITIONS}
 )
@@ -47,7 +47,6 @@ SET(SalomeParallelDSCContainer_SOURCES
 )
 
 ADD_LIBRARY(SalomeParallelDSCContainer ${SalomeParallelDSCContainer_SOURCES})
-SET_TARGET_PROPERTIES(SalomeParallelDSCContainer PROPERTIES COMPILE_FLAGS "${COMMON_FLAGS}")
 ADD_DEPENDENCIES(SalomeParallelDSCContainer SalomeParallelIDLKernel)
 INSTALL(TARGETS SalomeParallelDSCContainer EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})