Revert "Revert "#6151 Install synergy core to dictory for packaging""

This reverts commit 77d82b4f4b.
This commit is contained in:
Nick Bolton 2017-09-18 09:41:13 +01:00
parent 77d82b4f4b
commit e674c0e63b
1 changed files with 6 additions and 0 deletions

View File

@ -16,3 +16,9 @@
add_executable(synergy-core main.cpp)
target_link_libraries(synergy-core
arch base client common io mt net ipc platform server core ${libs} ${OPENSSL_LIBS})
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
install (TARGETS synergy-core DESTINATION ${SYNERGY_BUNDLE_BINARY_DIR})
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
install (TARGETS synergy-core DESTINATION bin)
endif()