X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/43d5190f7771063a5377e087b853421ceefae809..87bf949d1f8b8a86716c5880244df95b39f67708:/sgauth/CMakeLists.txt?ds=sidebyside diff --git a/sgauth/CMakeLists.txt b/sgauth/CMakeLists.txt index 1c346b79..2a87f3f6 100644 --- a/sgauth/CMakeLists.txt +++ b/sgauth/CMakeLists.txt @@ -2,14 +2,17 @@ set ( CPP_FILES main.cpp settings_impl.cpp web.cpp ) set ( THREADS_PREFER_PTHREAD_FLAG ON ) find_package ( Threads REQUIRED ) +find_package ( Intl REQUIRED ) file ( READ sgauth.css CSS_DATA ) configure_file ( css.h.in css.h ESCAPE_QUOTES @ONLY ) set ( CMAKE_INCLUDE_CURRENT_DIR ON ) +include_directories ( ${Intl_INCLUDE_DIRS} ) + add_executable ( sgauth ${CPP_FILES} ) -target_link_libraries ( sgauth conffiles ia crypto common Threads::Threads ) +target_link_libraries ( sgauth conffiles ia crypto common ${Intl_LIBRARIES} Threads::Threads ) # TODO: install