summaryrefslogtreecommitdiffstats
path: root/src/backends/PostgreSQL/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/PostgreSQL/CMakeLists.txt')
-rw-r--r--src/backends/PostgreSQL/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/backends/PostgreSQL/CMakeLists.txt b/src/backends/PostgreSQL/CMakeLists.txt
new file mode 100644
index 0000000..fa825e0
--- /dev/null
+++ b/src/backends/PostgreSQL/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+link_directories(
+ ${LIBPQ_LIBRARY_DIRS}
+)
+
+##### krecpsql (static)
+
+tde_add_library( krecpsql STATIC_PIC AUTOMOC
+ SOURCES psqlrecipedb.cpp
+ LINK krecipesdbs-static ${LIBPQ_LIBRARIES}
+)
+