aboutsummaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/CMakeLists.txt5
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})