summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-09-19 13:04:26 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-09-19 13:04:26 (GMT)
commitb4f02ec0bd8e102fb93230ed2ffe15c90bb33a81 (patch)
treef7b08ed9fa164272b1c56ccf29ae3652466be8a5 /Tests
parent83363e5dfeb7cd43628551b8f0dc932616505df4 (diff)
downloadCMake-b4f02ec0bd8e102fb93230ed2ffe15c90bb33a81.zip
CMake-b4f02ec0bd8e102fb93230ed2ffe15c90bb33a81.tar.gz
CMake-b4f02ec0bd8e102fb93230ed2ffe15c90bb33a81.tar.bz2
COMP: reenable the installation of the PUBLIC_HEADERs
Alex
Diffstat (limited to 'Tests')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt4
-rw-r--r--Tests/SimpleInstallS2/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index 503cd0d..ffbf27c 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -163,7 +163,7 @@ ELSE(STAGE2)
# Test per-configuration output name.
SET_TARGET_PROPERTIES(test1 PROPERTIES RELEASE_OUTPUT_NAME test1rel)
-# SET_TARGET_PROPERTIES(test2 PROPERTIES PUBLIC_HEADER foo.h)
+ SET_TARGET_PROPERTIES(test2 PROPERTIES PUBLIC_HEADER foo.h)
IF(CMAKE_GENERATOR MATCHES "Makefiles")
ADD_SUBDIRECTORY(TestSubDir)
@@ -178,7 +178,7 @@ ELSE(STAGE2)
RUNTIME DESTINATION MyTest/bin COMPONENT Runtime # .exe, .dll
LIBRARY DESTINATION MyTest/lib COMPONENT Runtime # .so, mod.dll
ARCHIVE DESTINATION MyTest/lib/static COMPONENT Development # .a, .lib
-# PUBLIC_HEADER DESTINATION MyTest/include COMPONENT Development
+ PUBLIC_HEADER DESTINATION MyTest/include COMPONENT Development
)
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt
index 503cd0d..ffbf27c 100644
--- a/Tests/SimpleInstallS2/CMakeLists.txt
+++ b/Tests/SimpleInstallS2/CMakeLists.txt
@@ -163,7 +163,7 @@ ELSE(STAGE2)
# Test per-configuration output name.
SET_TARGET_PROPERTIES(test1 PROPERTIES RELEASE_OUTPUT_NAME test1rel)
-# SET_TARGET_PROPERTIES(test2 PROPERTIES PUBLIC_HEADER foo.h)
+ SET_TARGET_PROPERTIES(test2 PROPERTIES PUBLIC_HEADER foo.h)
IF(CMAKE_GENERATOR MATCHES "Makefiles")
ADD_SUBDIRECTORY(TestSubDir)
@@ -178,7 +178,7 @@ ELSE(STAGE2)
RUNTIME DESTINATION MyTest/bin COMPONENT Runtime # .exe, .dll
LIBRARY DESTINATION MyTest/lib COMPONENT Runtime # .so, mod.dll
ARCHIVE DESTINATION MyTest/lib/static COMPONENT Development # .a, .lib
-# PUBLIC_HEADER DESTINATION MyTest/include COMPONENT Development
+ PUBLIC_HEADER DESTINATION MyTest/include COMPONENT Development
)
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE