Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CMake improvement: usage of SALOME_GUI_MODE() macro
[modules/smesh.git]
/
src
/
OBJECT
/
CMakeLists.txt
diff --git
a/src/OBJECT/CMakeLists.txt
b/src/OBJECT/CMakeLists.txt
index d9597de660f021c714dac63f579dc1cf7fb646e5..859e3da5a5d46b2be29d089d7766bfd2f8ecc042 100644
(file)
--- a/
src/OBJECT/CMakeLists.txt
+++ b/
src/OBJECT/CMakeLists.txt
@@
-61,13
+61,18
@@
SET(_link_LIBRARIES
${GUI_qtx}
${GUI_suit}
${GUI_std}
${GUI_qtx}
${GUI_suit}
${GUI_std}
- ${GUI_Plot2d}
- ${GUI_SPlot2d}
SMESHClient
SMDS
SMESHControls
)
SMESHClient
SMDS
SMESHControls
)
+IF(SALOME_USE_PLOT2DVIEWER)
+ LIST(APPEND _link_LIBRARIES
+ ${GUI_Plot2d}
+ ${GUI_SPlot2d}
+ )
+ENDIF()
+
# --- headers ---
# header files / no moc processing
# --- headers ---
# header files / no moc processing