CMake refinements

This commit is contained in:
Gioacchino Mazzurco 2022-02-25 19:30:34 +01:00
parent fcaba0e65f
commit d757af5c56
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
2 changed files with 8 additions and 2 deletions

@ -1 +1 @@
Subproject commit 16758995237494a1f39fa86f0f04cf37de121a91
Subproject commit 59ebd813697eda75b188ea5a8cc5d650c5602700

View File

@ -10,6 +10,12 @@ project(retroshare-service)
include(CMakeDependentOption)
set(
RS_BIN_INSTALL_DIR
"${CMAKE_INSTALL_PREFIX}/bin"
CACHE PATH
"Path where to install retroshare-service compiled binary" )
option(
RS_DEVELOPMENT_BUILD
"Disable optimization to speed up build, enable verbose build log. \
@ -67,7 +73,7 @@ list(
add_executable(${PROJECT_NAME} ${RS_SERVICE_SOURCES})
install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS ${PROJECT_NAME} DESTINATION ${RS_BIN_INSTALL_DIR})
################################################################################