diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-06-17 12:31:35 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-06-17 12:31:35 +0200 |
commit | 8b6944d4e42dc42b7833a335c8af990e5a5bcc2b (patch) | |
tree | 5ab915108f118909391d3b385acd1a93c0ef57e7 /src/cli | |
parent | fdc648f94ddf4cf2a15fd0c6c3e6e7d72acafc1b (diff) | |
download | OFQT-8b6944d4e42dc42b7833a335c8af990e5a5bcc2b.tar.gz OFQT-8b6944d4e42dc42b7833a335c8af990e5a5bcc2b.zip |
add install targets for frontends, link pthread, add CI
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cli/CMakeLists.txt b/src/cli/CMakeLists.txt index 23f4553..38e5e13 100644 --- a/src/cli/CMakeLists.txt +++ b/src/cli/CMakeLists.txt @@ -8,5 +8,10 @@ SET(CLI_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/updater.h ) +set(THREADS_PREFER_PTHREAD_FLAG ON) +find_package(Threads REQUIRED) + add_executable(${FRONTEND_NAME} ${CLI_SOURCES}) target_link_libraries(${FRONTEND_NAME} PRIVATE tvn) +target_link_libraries(${FRONTEND_NAME} PRIVATE Threads::Threads) +install(TARGETS ${FRONTEND_NAME}) |