From: ana Date: Thu, 4 Oct 2012 06:25:39 +0000 (+0000) Subject: CMake: Win32 compatibility X-Git-Tag: V6_6_0a1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fc09a4d95710e4a85b62b29d606836063fce8701;p=modules%2Fgui.git CMake: Win32 compatibility --- diff --git a/src/SALOME_SWIG/CMakeLists.txt b/src/SALOME_SWIG/CMakeLists.txt index f0fbad151..08943c209 100755 --- a/src/SALOME_SWIG/CMakeLists.txt +++ b/src/SALOME_SWIG/CMakeLists.txt @@ -32,6 +32,7 @@ INCLUDE_DIRECTORIES( ${QWT_INCLUDE_DIRS} ${VTK_INCLUDE_DIRS} ${BOOST_INCLUDE_DIRS} + ${PTHREAD_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_BINARY_DIR}/salome_adm ${CMAKE_BINARY_DIR}/idl @@ -60,9 +61,9 @@ SWIG_ADD_MODULE(libSALOME_Swig python libSALOME_Swig.i SALOMEGUI_Swig.cxx) SWIG_LINK_LIBRARIES(libSALOME_Swig LightApp ${PYTHON_LIBS}) SET_TARGET_PROPERTIES(_libSALOME_Swig PROPERTIES COMPILE_FLAGS "${COMMON_FLAGS}") -IF(${MACHINE} STREQUAL WINDOWS) +IF(WINDOWS) SET_TARGET_PROPERTIES(_libSALOME_Swig PROPERTIES DEBUG_OUTPUT_NAME _libSALOME_Swig_d) -ENDIF(${MACHINE} STREQUAL WINDOWS) +ENDIF(WINDOWS) INSTALL(TARGETS _libSALOME_Swig DESTINATION ${GUI_salomepythondir})