diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-09 08:50:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-09 09:21:31 +0300 |
commit | 8706fa3939a82975f6e627900f52680de2ddbb49 (patch) | |
tree | 8741b1f2af1df0403ce66a842074866f06a613d8 /client | |
parent | update cmake-common (diff) | |
download | math-server-8706fa3939a82975f6e627900f52680de2ddbb49.tar.gz math-server-8706fa3939a82975f6e627900f52680de2ddbb49.zip |
use CMake's install() for predictable paths
This will allow to merge the scripts for the two CIs in the future,
hopefully.
Diffstat (limited to 'client')
-rw-r--r-- | client/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 01a86df..6bebf27 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -4,3 +4,5 @@ add_executable(client main.cpp) target_include_directories(client SYSTEM PRIVATE ${Boost_INCLUDE_DIRS}) target_link_libraries(client PRIVATE ${Boost_LIBRARIES}) target_compile_definitions(client PRIVATE BOOST_DATE_TIME_NO_LIB BOOST_REGEX_NO_LIB) + +install(TARGETS client RUNTIME DESTINATION bin) |