]> git.stg.codes - stg.git/blob - sgconf/CMakeLists.txt
Some more BSD-related issues.
[stg.git] / sgconf / CMakeLists.txt
1 find_package ( EXPAT REQUIRED )
2
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 )
4
5 set ( THREADS_PREFER_PTHREAD_FLAG ON )
6 find_package ( Threads REQUIRED )
7
8 add_executable ( sgconf ${CPP_FILES} )
9
10 target_link_libraries ( sgconf srvconf crypto common EXPAT::EXPAT )
11
12 # TODO: install