summaryrefslogtreecommitdiffstats
path: root/src/backends/SQLite/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-10-31 22:50:43 +0900
committerMichele Calgaro <[email protected]>2024-11-12 10:58:18 +0900
commitd8d55853dcf9aae732bb266ec766c6d10f5bf7ff (patch)
treee2aed68bb901a578e5231d8800f1facda3e458db /src/backends/SQLite/CMakeLists.txt
parentec41c8e01cf99fe82118d8c739da6a498ee7afb4 (diff)
downloadkrecipes-d8d55853dcf9aae732bb266ec766c6d10f5bf7ff.tar.gz
krecipes-d8d55853dcf9aae732bb266ec766c6d10f5bf7ff.zip
CMake conversion
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 2c316e3037228223164adf5cd3446cf47f1744a4)
Diffstat (limited to 'src/backends/SQLite/CMakeLists.txt')
-rw-r--r--src/backends/SQLite/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/backends/SQLite/CMakeLists.txt b/src/backends/SQLite/CMakeLists.txt
new file mode 100644
index 0000000..c039413
--- /dev/null
+++ b/src/backends/SQLite/CMakeLists.txt
@@ -0,0 +1,13 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### krecsqlite (static)
+
+tde_add_library( krecsqlite STATIC_PIC AUTOMOC
+ SOURCES literecipedb.cpp
+ LINK krecipesdbs-static ${SQLITE3_LIBRARIES}
+)
+