-# 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
# 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
# --- 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})