Salome HOME
updated copyright message
[modules/kernel.git] / src / DSC / DSC_User / Datastream / CMakeLists.txt
old mode 100755 (executable)
new mode 100644 (file)
index 4087321..c902758
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2023  CEA, EDF, OPEN CASCADE
 #
 # 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.
+# 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
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-ADD_SUBDIRECTORY(Palm)
-ADD_SUBDIRECTORY(Calcium)
-
 INCLUDE_DIRECTORIES(
   ${Boost_INCLUDE_DIRS}
-  ${CMAKE_BINARY_DIR}/salome_adm
-  ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User
-  ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Palm
-  ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
+  ${PROJECT_BINARY_DIR}/salome_adm
+  ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User
+  ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Palm
+  ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
   ${CMAKE_CURRENT_SOURCE_DIR}/..
 )
 
-# This local variable defines the list of dependant libraries common to all target in this package.
+ADD_SUBDIRECTORY(Palm)
+ADD_SUBDIRECTORY(Calcium)
+
+# This local variable defines the list of dependent libraries common to all target in this package.
 SET(COMMON_LIBS
   SalomePalm
   SalomeCalcium
@@ -40,7 +40,7 @@ ADD_DEFINITIONS(${BOOST_DEFINITIONS})
 
 ADD_LIBRARY(SalomeDatastream fake.cc)
 TARGET_LINK_LIBRARIES(SalomeDatastream ${COMMON_LIBS})
-INSTALL(TARGETS SalomeDatastream DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS SalomeDatastream EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
 SET(COMMON_HEADERS_HXX
   AdjacentFunctor.hxx