]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
addition of numpy
authorageay <ageay>
Mon, 8 Jul 2013 10:57:47 +0000 (10:57 +0000)
committerageay <ageay>
Mon, 8 Jul 2013 10:57:47 +0000 (10:57 +0000)
src/MEDLoader/Swig/CMakeLists.txt

index 3a409c36b6ef1ce7b67b9d9edbacfe87f62d4ddb..457454357cffd34680fc426ca025750bfc7c25dc 100644 (file)
@@ -53,6 +53,7 @@ SET (SWIG_MODULE_MEDLoader_EXTRA_DEPS ${MEDLoader_SWIG_DPYS_FILES}
     
 SWIG_ADD_MODULE(MEDLoader python MEDLoader.i)
 SWIG_LINK_LIBRARIES(MEDLoader ${PYTHON_LIBS} ${PLATFORM_LIBS} medloader medcoupling)
+SET_TARGET_PROPERTIES(_MEDLoader PROPERTIES COMPILE_FLAGS "${PLATFORM_DEFINITIONS} ${PYTHON_DEFINITIONS}")
 IF(WIN32)
   SET_TARGET_PROPERTIES(_MEDLoader PROPERTIES DEBUG_OUTPUT_NAME _MEDLoader_d)
 ENDIF(WIN32)