+ include ( ExternalProject )
+
+ ExternalProject_Add ( async-radius
+ GIT_REPOSITORY https://github.com/madf/async-radius.git
+ GIT_TAG 1.1.0
+ GIT_SHALLOW true
+ INSTALL_COMMAND ""
+ CMAKE_ARGS -DCMAKE_CXX_FLAGS=-fPIC )
+
+ ExternalProject_Get_property ( async-radius SOURCE_DIR BINARY_DIR )
+
+ target_include_directories ( mod_radius PRIVATE "${SOURCE_DIR}/include" )
+ target_link_directories ( mod_radius PRIVATE "${BINARY_DIR}/src" )
+
+ add_dependencies ( mod_radius async-radius )
+
+ target_link_libraries ( mod_radius PRIVATE radproto Boost::boost )
+