X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomDataAPI%2FCMakeLists.txt;h=90e0654b5f40b3bb7cac8f4d64788f64e48ae2c1;hb=88c4a5c85a8d2cfab598c69882b9ceae15507123;hp=8747e7eab30f15d1ab82f308b7a28f1468728ee2;hpb=4aa40dea3d1e932d9f58eac10e3f6be3121ce2cc;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/CMakeLists.txt b/src/GeomDataAPI/CMakeLists.txt index 8747e7eab..90e0654b5 100644 --- a/src/GeomDataAPI/CMakeLists.txt +++ b/src/GeomDataAPI/CMakeLists.txt @@ -1,4 +1,22 @@ -## Copyright (C) 2014-20xx CEA/DEN, EDF R&D +## Copyright (C) 2014-2017 CEA/DEN, EDF R&D +## +## This library is free software; you can redistribute it and/or +## modify it under the terms of the GNU Lesser General Public +## License as published by the Free Software Foundation; either +## version 2.1 of the License, or (at your option) any later version. +## +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## Lesser General Public License for more details. +## +## You should have received a copy of the GNU Lesser General Public +## License along with this library; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +## +## See http:##www.salome-platform.org/ or +## email : webmaster.salome@opencascade.com +## FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) @@ -22,7 +40,8 @@ SET(PROJECT_LIBRARIES ModelAPI ) -INCLUDE_DIRECTORIES( +INCLUDE_DIRECTORIES( + ../GeomAPI # only for SWIG ../ModelAPI ) @@ -52,8 +71,8 @@ IF(WIN32) SET_TARGET_PROPERTIES(_GeomDataAPI PROPERTIES DEBUG_OUTPUT_NAME _GeomDataAPI_d) ENDIF(WIN32) -INSTALL(TARGETS GeomDataAPI DESTINATION bin) -INSTALL(TARGETS _GeomDataAPI DESTINATION swig) -INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION swig) +INSTALL(TARGETS GeomDataAPI DESTINATION ${SHAPER_INSTALL_BIN}) +INSTALL(TARGETS _GeomDataAPI DESTINATION ${SHAPER_INSTALL_SWIG}) +INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG}) ADD_UNIT_TESTS(TestConstants.py)