X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FCMakeLists.txt;h=24999862f7f658b73bd8ce9ce1ed1bd4a263712c;hb=1a1b88b9cf10382f90a5e34f4ca8777b8b8550d8;hp=d9597de660f021c714dac63f579dc1cf7fb646e5;hpb=251f8c052dd12dd29922210dc901b295fe999a0e;p=modules%2Fsmesh.git diff --git a/src/OBJECT/CMakeLists.txt b/src/OBJECT/CMakeLists.txt index d9597de66..24999862f 100644 --- a/src/OBJECT/CMakeLists.txt +++ b/src/OBJECT/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2015 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2016 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