From 39fe0bc8a592a0247e1f2df3ae0b57fd2c26cc77 Mon Sep 17 00:00:00 2001 From: bruneton Date: Mon, 24 Jun 2013 06:49:59 +0000 Subject: [PATCH] CMake: minor: renamed exported target group to ${PROJECT_NAME}targets. --- CMakeLists.txt | 2 +- src/Basics/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f81fd52b..a5d044ebb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}") diff --git a/src/Basics/CMakeLists.txt b/src/Basics/CMakeLists.txt index 362eb7874..1516dd4a6 100755 --- a/src/Basics/CMakeLists.txt +++ b/src/Basics/CMakeLists.txt @@ -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}) -- 2.39.2