1 set ( CPP_FILES main.cpp settings_impl.cpp web.cpp )
3 set ( THREADS_PREFER_PTHREAD_FLAG ON )
4 find_package ( Threads REQUIRED )
6 file ( READ sgauth.css CSS_DATA )
7 configure_file ( css.h.in css.h ESCAPE_QUOTES @ONLY )
9 set ( CMAKE_INCLUDE_CURRENT_DIR ON )
11 add_executable ( sgauth ${CPP_FILES} )
13 target_link_libraries ( sgauth conffiles ia crypto common Threads::Threads )