diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-01 10:36:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-26 10:37:38 +0900 |
commit | 76a8e935be38afad0105c46d5a2aa7b58162223b (patch) | |
tree | ec4150730a6bb1900c9d4541fd9faf0c4d41b00a /src/libs/sqlite3 | |
parent | 67fd8bef19878c6940d48fbdafe07a8842c99fd1 (diff) | |
download | digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.tar.gz digikam-76a8e935be38afad0105c46d5a2aa7b58162223b.zip |
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/libs/sqlite3')
-rw-r--r-- | src/libs/sqlite3/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/libs/sqlite3/sqlite3.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/libs/sqlite3/CMakeLists.txt b/src/libs/sqlite3/CMakeLists.txt new file mode 100644 index 00000000..f5211222 --- /dev/null +++ b/src/libs/sqlite3/CMakeLists.txt @@ -0,0 +1,6 @@ +##### sqlite3 library (static) + +tde_add_library( sqlite3 STATIC_PIC + SOURCES sqlite3.c + LINK ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS} +) diff --git a/src/libs/sqlite3/sqlite3.c b/src/libs/sqlite3/sqlite3.c index 45077b4b..87195d9a 100644 --- a/src/libs/sqlite3/sqlite3.c +++ b/src/libs/sqlite3/sqlite3.c @@ -249,12 +249,8 @@ /* ** Include standard header files as necessary */ -#ifdef HAVE_STDINT_H #include <stdint.h> -#endif -#ifdef HAVE_INTTYPES_H #include <inttypes.h> -#endif /* ** A macro used to aid in coverage testing. When doing coverage |