Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for '17915 [CEA 17912] CurvePlot breaks GUI build on Windows' issue.
[modules/gui.git]
/
tools
/
CurvePlot
/
src
/
cpp
/
test
/
CMakeLists.txt
diff --git
a/tools/CurvePlot/src/cpp/test/CMakeLists.txt
b/tools/CurvePlot/src/cpp/test/CMakeLists.txt
index 77d01edb7e09774d5fc870928483b4b192cb686a..50e6ef11a2aa8893f18e94fd13cec975fc40b7a5 100644
(file)
--- a/
tools/CurvePlot/src/cpp/test/CMakeLists.txt
+++ b/
tools/CurvePlot/src/cpp/test/CMakeLists.txt
@@
-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)
+ SET(_link_LIBRARIES ${_link_LIBRARIES} PyInterp)
+ENDIF()
+
+
# --- headers ---
SET(_moc_HEADERS