]> git.stg.codes - stg.git/blob - projects/rscriptd/CMakeLists.txt
Add missing include to conffiles.h.
[stg.git] / projects / rscriptd / CMakeLists.txt
1 set ( CPP_FILES main.cpp listener.cpp pidfile.cpp )
2
3 set ( THREADS_PREFER_PTHREAD_FLAG ON )
4 find_package ( Threads REQUIRED )
5
6 add_executable ( rscriptd ${CPP_FILES} )
7
8 target_link_libraries ( rscriptd scriptexecuter conffiles logger crypto common Threads::Threads )
9
10 if ( CLANG_TIDY_EXE )
11     set_target_properties ( rscriptd PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
12 endif ()
13 if ( INCLUDE_WHAT_YOU_USE_EXE )
14     set_target_properties ( rscriptd PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
15 endif ()
16
17 # TODO: install