mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 17:19:05 -05:00
Tests: Add test for install(FILES) with PERMISSIONS
This commit is contained in:
@@ -0,0 +1 @@
|
||||
check_installed([[^src;src/empty.c]])
|
||||
@@ -0,0 +1,5 @@
|
||||
install(
|
||||
FILES empty.c
|
||||
DESTINATION src
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE
|
||||
)
|
||||
@@ -87,6 +87,7 @@ run_install_test(SCRIPT)
|
||||
run_install_test(TARGETS-CONFIGURATIONS)
|
||||
run_install_test(DIRECTORY-PATTERN)
|
||||
run_install_test(TARGETS-Parts)
|
||||
run_install_test(FILES-PERMISSIONS)
|
||||
|
||||
set(run_install_test_components 1)
|
||||
run_install_test(FILES-EXCLUDE_FROM_ALL)
|
||||
|
||||
Reference in New Issue
Block a user