]> git.stg.codes - stg.git/blob - stargazer/plugins/store/postgresql/CMakeLists.txt
Port to CMake, get rid of os_int.h.
[stg.git] / stargazer / plugins / store / postgresql / CMakeLists.txt
1 find_package ( PostgreSQL REQUIRED )
2
3 set ( CPP_FILES postgresql_store.cpp
4                 postgresql_store_admins.cpp
5                 postgresql_store_corporations.cpp
6                 postgresql_store_messages.cpp
7                 postgresql_store_services.cpp
8                 postgresql_store_tariffs.cpp
9                 postgresql_store_users.cpp
10                 postgresql_store_utils.cpp )
11
12 add_library ( mod_store_postgresql MODULE ${CPP_FILES} )
13
14 target_link_libraries ( mod_store_postgresql crypto logger common PostgreSQL::PostgreSQL )