X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..a6b0423977ee2ad532b4e5341eaf41e7197804b2:/sgauth/CMakeLists.txt?ds=sidebyside diff --git a/sgauth/CMakeLists.txt b/sgauth/CMakeLists.txt index fc41d499..1c346b79 100644 --- a/sgauth/CMakeLists.txt +++ b/sgauth/CMakeLists.txt @@ -3,6 +3,11 @@ set ( CPP_FILES main.cpp settings_impl.cpp web.cpp ) set ( THREADS_PREFER_PTHREAD_FLAG ON ) find_package ( Threads REQUIRED ) +file ( READ sgauth.css CSS_DATA ) +configure_file ( css.h.in css.h ESCAPE_QUOTES @ONLY ) + +set ( CMAKE_INCLUDE_CURRENT_DIR ON ) + add_executable ( sgauth ${CPP_FILES} ) target_link_libraries ( sgauth conffiles ia crypto common Threads::Threads )