mirror of
https://github.com/vgough/encfs.git
synced 2025-02-16 17:50:53 +01:00
move install commands closer to definitions
This commit is contained in:
parent
322da93252
commit
f04381fe17
@ -117,9 +117,11 @@ target_link_libraries(encfs
|
|||||||
add_executable (encfs-bin encfs/main.cpp)
|
add_executable (encfs-bin encfs/main.cpp)
|
||||||
target_link_libraries (encfs-bin encfs)
|
target_link_libraries (encfs-bin encfs)
|
||||||
set_target_properties (encfs-bin PROPERTIES OUTPUT_NAME "encfs")
|
set_target_properties (encfs-bin PROPERTIES OUTPUT_NAME "encfs")
|
||||||
|
install (TARGETS encfs DESTINATION bin)
|
||||||
|
|
||||||
add_executable (encfsctl encfs/encfsctl.cpp)
|
add_executable (encfsctl encfs/encfsctl.cpp)
|
||||||
target_link_libraries (encfsctl encfs)
|
target_link_libraries (encfsctl encfs)
|
||||||
|
install (TARGETS encfsctl DESTINATION bin)
|
||||||
|
|
||||||
add_executable (makekey encfs/makeKey.cpp)
|
add_executable (makekey encfs/makeKey.cpp)
|
||||||
target_link_libraries (makekey encfs)
|
target_link_libraries (makekey encfs)
|
||||||
@ -127,6 +129,8 @@ 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 ${CMAKE_SOURCE_DIR}/encfs/encssh DESTINATION bin)
|
||||||
|
|
||||||
# Reference all headers, to make certain IDEs happy.
|
# Reference all headers, to make certain IDEs happy.
|
||||||
file (GLOB_RECURSE all_headers ${CMAKE_SOURCE_DIR}/*.h)
|
file (GLOB_RECURSE all_headers ${CMAKE_SOURCE_DIR}/*.h)
|
||||||
add_custom_target (all_placeholder SOURCES ${all_headers})
|
add_custom_target (all_placeholder SOURCES ${all_headers})
|
||||||
@ -144,9 +148,6 @@ if (POD2MAN)
|
|||||||
DESTINATION share/man/man1)
|
DESTINATION share/man/man1)
|
||||||
endif (POD2MAN)
|
endif (POD2MAN)
|
||||||
|
|
||||||
install (TARGETS encfs DESTINATION bin)
|
|
||||||
install (FILES ${CMAKE_SOURCE_DIR}/encfs/encssh DESTINATION bin)
|
|
||||||
|
|
||||||
# Translations
|
# Translations
|
||||||
if (GETTEXT_FOUND)
|
if (GETTEXT_FOUND)
|
||||||
file(GLOB po_files "po/*.po")
|
file(GLOB po_files "po/*.po")
|
||||||
|
Loading…
Reference in New Issue
Block a user