Use PROGRAMS to install encfssh with executable permissions

This commit is contained in:
Rogelio Domínguez Hernández 2017-07-27 11:00:53 -05:00 committed by rfjakob
parent 514bfd34da
commit 779b69208a

View File

@ -228,7 +228,7 @@ target_link_libraries (makekey encfs)
add_executable (checkops encfs/test.cpp) add_executable (checkops encfs/test.cpp)
target_link_libraries (checkops encfs) target_link_libraries (checkops encfs)
install (FILES encfs/encfssh DESTINATION bin) install (PROGRAMS encfs/encfssh DESTINATION bin)
# Reference all headers, to make certain IDEs happy. # Reference all headers, to make certain IDEs happy.
file (GLOB_RECURSE all_headers ${CMAKE_CURRENT_LIST_DIR}/*.h) file (GLOB_RECURSE all_headers ${CMAKE_CURRENT_LIST_DIR}/*.h)