1 find_package ( EXPAT REQUIRED )
3 set ( CPP_FILES main.cpp options.cpp api_action.cpp actions.cpp admins.cpp tariffs.cpp users.cpp services.cpp corps.cpp info.cpp xml.cpp )
5 set ( THREADS_PREFER_PTHREAD_FLAG ON )
6 find_package ( Threads REQUIRED )
8 add_executable ( sgconf ${CPP_FILES} )
10 target_link_libraries ( sgconf srvconf crypto common EXPAT::EXPAT )
13 set_target_properties ( sgconf PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
15 if ( INCLUDE_WHAT_YOU_USE_EXE )
16 set_target_properties ( sgconf PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )