diff --git a/CMakeLists.txt b/CMakeLists.txt index 187685a9..b924446e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,12 @@ GIT_VERSION_INIT() ENABLE_STYLE_WARNINGS() -INSTALL(TARGETS ${BII_src_main_target} DESTINATION bin RENAME cryfs) +SET_TARGET_PROPERTIES(${BII_src_main_TARGET} PROPERTIES OUTPUT_NAME cryfs) + +INSTALL(TARGETS ${BII_src_main_TARGET} + DESTINATION bin + PERMISSIONS WORLD_EXECUTE + CONFIGURATIONS Release) # You can safely delete lines from here... diff --git a/README.md b/README.md index 028e78ce..6c3412e6 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,11 @@ Build $ bii configure -D CMAKE_BUILD_TYPE=Release $ bii build + 3. Install + + $ cd bii/build/messmer_cryfs + $ sudo make install + You can pass normal make parameters after a double dash. This can for example be used to add "-j5" to compile with 5 build threads in parallel: