]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Issue '17915 [CEA 17912] CurvePlot breaks GUI build on Windows' remove dependency...
authorrnv <rnv@opencascade.com>
Wed, 30 Oct 2019 16:54:06 +0000 (19:54 +0300)
committerrnv <rnv@opencascade.com>
Wed, 30 Oct 2019 16:54:06 +0000 (19:54 +0300)
tools/CurvePlot/src/cpp/CMakeLists.txt
tools/CurvePlot/src/cpp/test/CMakeLists.txt

index 3f701ebc0ebb4b7b61dd4dec7aad03b6f9517945..dd0b5e051e2dacbf27c3d0c99bd54f73e4445176 100644 (file)
@@ -34,7 +34,7 @@ ADD_DEFINITIONS(${PYTHON_DEFINITIONS})
 # libraries to link to
 SET(_link_LIBRARIES ${PYTHON_LIBRARIES} ${GUI_PyInterp})
 
-IF(TARGET PyInterp)
+IF(TARGET PyInterp AND WIN32)
   SET(_link_LIBRARIES ${_link_LIBRARIES} PyInterp)
 ENDIF()
 
index 50e6ef11a2aa8893f18e94fd13cec975fc40b7a5..a38a77b0cc8190fcf80f7b57caa2e1db03ae8889 100644 (file)
@@ -31,7 +31,7 @@ ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${QT_DEFINITIONS})
 # libraries to link to
 SET(_link_LIBRARIES ${PYTHON_LIBRARIES} ${GUI_PyInterp} ${QT_LIBRARIES} CurvePlot)
 
-IF(TARGET PyInterp)
+IF(TARGET PyInterp AND WIN32)
   SET(_link_LIBRARIES ${_link_LIBRARIES} PyInterp)
 ENDIF()