X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FCMakeLists.txt;h=859e3da5a5d46b2be29d089d7766bfd2f8ecc042;hb=7a7d7e6e48067265c3c05f5063ffb934d9056b74;hp=4d92e790991e0d743ba6208f270746c20e30f7de;hpb=5d68554076bbca0e1e95fb0db215a6c2b84b6c54;p=modules%2Fsmesh.git diff --git a/src/OBJECT/CMakeLists.txt b/src/OBJECT/CMakeLists.txt index 4d92e7909..859e3da5a 100644 --- a/src/OBJECT/CMakeLists.txt +++ b/src/OBJECT/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2014 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -61,13 +61,18 @@ SET(_link_LIBRARIES ${GUI_qtx} ${GUI_suit} ${GUI_std} - ${GUI_Plot2d} - ${GUI_SPlot2d} SMESHClient SMDS SMESHControls ) +IF(SALOME_USE_PLOT2DVIEWER) + LIST(APPEND _link_LIBRARIES + ${GUI_Plot2d} + ${GUI_SPlot2d} + ) +ENDIF() + # --- headers --- # header files / no moc processing