Salome HOME
Updated copyright comment
[modules/gui.git] / tools / CurvePlot / src / cpp / test / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index 17e1c15..75c42c8
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -31,6 +31,11 @@ ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${QT_DEFINITIONS})
 # libraries to link to
 SET(_link_LIBRARIES ${PYTHON_LIBRARIES} ${GUI_PyInterp} ${QT_LIBRARIES} CurvePlot)
 
+IF(TARGET PyInterp AND WIN32)
+  SET(_link_LIBRARIES ${_link_LIBRARIES} PyInterp)
+ENDIF()
+
+
 # --- headers ---
 
 SET(_moc_HEADERS
@@ -44,7 +49,7 @@ SET(_other_SOURCES
 # --- rules ---
 
 # sources / moc wrappings
-QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
+QT5_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
 
 ADD_EXECUTABLE(test_curveplot ${_other_SOURCES} ${_moc_SOURCES})
 TARGET_LINK_LIBRARIES(test_curveplot ${_link_LIBRARIES})