summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB
diff options
context:
space:
mode:
authorRaffi Enficiaud <raffi.enficiaud@mines-paris.org>2015-09-28 21:23:05 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2015-09-28 23:18:04 (GMT)
commit749a140a0c635dca69e03245bfd6e0f2f4f43753 (patch)
tree12a0e56ee90e9334e2c0a38f8b6bbde560146f42 /Tests/CPackComponentsDEB
parent6c6a8c5d5a648b5847042f55fd36ba9a51b0166a (diff)
downloadCMake-749a140a0c635dca69e03245bfd6e0f2f4f43753.zip
CMake-749a140a0c635dca69e03245bfd6e0f2f4f43753.tar.gz
CMake-749a140a0c635dca69e03245bfd6e0f2f4f43753.tar.bz2
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/