X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/296c906e2689b9b5dc26d2f2d3e1e2d9e1662d3b..37324ea9b8c06d96b9383be993da02a01f103253:/projects/stargazer/plugins/CMakeLists.txt diff --git a/projects/stargazer/plugins/CMakeLists.txt b/projects/stargazer/plugins/CMakeLists.txt index a53349ea..b6e4d326 100644 --- a/projects/stargazer/plugins/CMakeLists.txt +++ b/projects/stargazer/plugins/CMakeLists.txt @@ -14,7 +14,8 @@ endif ( BUILD_MOD_AO ) if ( BUILD_MOD_RADIUS ) find_package ( Boost REQUIRED ) - add_library ( mod_radius MODULE other/radius/radius.cpp ) + add_library ( mod_radius MODULE other/radius/radius.cpp + other/radius/server.cpp) target_link_libraries ( mod_radius PRIVATE scriptexecuter logger common ) set_target_properties ( mod_radius PROPERTIES PREFIX "" ) @@ -34,7 +35,8 @@ if ( BUILD_MOD_RADIUS ) add_dependencies ( mod_radius async-radius ) - target_link_libraries ( mod_radius PRIVATE radproto Boost::boost ) + find_package ( OpenSSL 1.0.0 REQUIRED ) + target_link_libraries ( mod_radius PRIVATE radproto Boost::boost OpenSSL::Crypto) if ( CLANG_TIDY_EXE ) set_target_properties ( mod_radius PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )