summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-29 14:08:06 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-09-29 14:08:06 (GMT)
commit6a072563d2c81f653986318882f9782469a58936 (patch)
tree66b89387d38af1af25bcd5f346c5152f58395f16 /Tests/CPackComponentsDEB
parentddd082fb1fc4a771e84162bd9ef2553ef44bad7c (diff)
parent9298f56dcedb888ff140b6b1aab90be91162d50f (diff)
downloadCMake-6a072563d2c81f653986318882f9782469a58936.zip
CMake-6a072563d2c81f653986318882f9782469a58936.tar.gz
CMake-6a072563d2c81f653986318882f9782469a58936.tar.bz2
Merge topic 'cpack-package-empty-dirs'
9298f56d CPack: allow packaging of empty directories ecd71c9c SystemTools: time operations on directories 19c6f4ee SystemTools: set time file permissions 749a140a CPackDeb: allow empty directories in component packages
Diffstat (limited to 'Tests/CPackComponentsDEB')
-rw-r--r--Tests/CPackComponentsDEB/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/CPackComponentsDEB/CMakeLists.txt b/Tests/CPackComponentsDEB/CMakeLists.txt
index 98ed911..093b23f 100644
--- a/Tests/CPackComponentsDEB/CMakeLists.txt
+++ b/Tests/CPackComponentsDEB/CMakeLists.txt
@@ -110,9 +110,8 @@ install(FILES ${CPackComponentsDEB_BINARY_DIR}/symtest
if(EXISTS "./dirtest")
execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory ./dirtest)
endif()
+# NOTE: directory left empty on purpose
execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ./dirtest)
-# BUG: apparently cannot add an empty directory
-execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ../mylibapp ./dirtest/symtest)
# NOTE: we should not add the trailing "/" to dirtest
install(DIRECTORY ${CPackComponentsDEB_BINARY_DIR}/dirtest
DESTINATION bin/