From fc09a4d95710e4a85b62b29d606836063fce8701 Mon Sep 17 00:00:00 2001 From: ana Date: Thu, 4 Oct 2012 06:25:39 +0000 Subject: [PATCH] CMake: Win32 compatibility --- src/SALOME_SWIG/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}) -- 2.39.2