]> git.stg.codes - stg.git/blob - projects/sgconf/CMakeLists.txt
c2666b809e143c3320d3b76f3985709770df189d
[stg.git] / projects / 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