1 set ( CPP_FILES main.cpp settings_impl.cpp web.cpp )
3 set ( THREADS_PREFER_PTHREAD_FLAG ON )
4 find_package ( Threads REQUIRED )
5 find_package ( Intl REQUIRED )
7 file ( READ sgauth.css CSS_DATA )
8 configure_file ( css.h.in css.h ESCAPE_QUOTES @ONLY )
10 set ( CMAKE_INCLUDE_CURRENT_DIR ON )
12 include_directories ( ${Intl_INCLUDE_DIRS} )
14 add_executable ( sgauth ${CPP_FILES} )
16 target_link_libraries ( sgauth conffiles ia crypto common ${Intl_LIBRARIES} Threads::Threads )