]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/store/postgresql/CMakeLists.txt
Port to CMake, get rid of os_int.h.
[stg.git] / stargazer / plugins / store / postgresql / CMakeLists.txt
diff --git a/stargazer/plugins/store/postgresql/CMakeLists.txt b/stargazer/plugins/store/postgresql/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3c9027e
--- /dev/null
@@ -0,0 +1,14 @@
+find_package ( PostgreSQL REQUIRED )
+
+set ( CPP_FILES postgresql_store.cpp
+                postgresql_store_admins.cpp
+                postgresql_store_corporations.cpp
+                postgresql_store_messages.cpp
+                postgresql_store_services.cpp
+                postgresql_store_tariffs.cpp
+                postgresql_store_users.cpp
+                postgresql_store_utils.cpp )
+
+add_library ( mod_store_postgresql MODULE ${CPP_FILES} )
+
+target_link_libraries ( mod_store_postgresql crypto logger common PostgreSQL::PostgreSQL )