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