Salome HOME
CMake: minor: renamed exported target group to ${PROJECT_NAME}targets.
authorbruneton <bruneton>
Mon, 24 Jun 2013 06:49:59 +0000 (06:49 +0000)
committerbruneton <bruneton>
Mon, 24 Jun 2013 06:49:59 +0000 (06:49 +0000)
CMakeLists.txt
src/Basics/CMakeLists.txt

index 9f81fd52bdc0870b64dc1eb913e38dcf3ed9e974..a5d044ebbcc590603f9a7623cff1b01c5da5c003 100755 (executable)
@@ -225,4 +225,4 @@ INSTALL(FILES
   DESTINATION "${SALOME_INSTALL_CMAKE}")
 
 # Install the export set for use with the install-tree
-INSTALL(EXPORT salomeKernelTargets DESTINATION "${SALOME_INSTALL_CMAKE}")
+INSTALL(EXPORT ${PROJECT_NAME}Targets DESTINATION "${SALOME_INSTALL_CMAKE}")
index 362eb787445cd4987de56bc72f6cde9205417a49..1516dd4a688e9df10db555755e097b27f5d06082 100755 (executable)
@@ -28,7 +28,7 @@ SET(SALOMEBasics_SOURCES
 )
 
 ADD_LIBRARY(SALOMEBasics ${SALOMEBasics_SOURCES})
-INSTALL(TARGETS SALOMEBasics EXPORT salomeKernelTargets DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS SALOMEBasics EXPORT ${PROJECT_NAME}Targets DESTINATION ${SALOME_INSTALL_LIBS})
 
 TARGET_LINK_LIBRARIES(SALOMEBasics ${PLATFORM_LIBS})