Salome HOME
Issue '17915 [CEA 17912] CurvePlot breaks GUI build on Windows' remove dependency...
[modules/gui.git] / tools / CurvePlot / src / cpp / 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()