1 find_package ( YAJL REQUIRED )
3 set ( CPP_FILES conn.cpp iface.cpp stg_client.cpp )
4 set ( C_FILES rlm_stg.c radlog.c )
6 set ( THREADS_PREFER_PTHREAD_FLAG ON )
7 find_package ( Threads REQUIRED )
9 add_library ( rlm_stg MODULE ${CPP_FILES} ${C_FILES} )
11 target_link_libraries ( rlm_stg crypto common json dl YAJL::YAJL )