diff options
author | Michele Calgaro <[email protected]> | 2024-12-01 10:36:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-26 16:54:50 +0900 |
commit | 86d7f0e20a9cb6688aaa1fef0545702e27c9ed56 (patch) | |
tree | 62cf48ae5744c0212108f8a8c0c777645125cdc4 /src/libs/sqlite3 | |
parent | d0df28617a0a44cb207262de6b365ab2674e683d (diff) | |
download | digikam-86d7f0e20a9cb6688aaa1fef0545702e27c9ed56.tar.gz digikam-86d7f0e20a9cb6688aaa1fef0545702e27c9ed56.zip |
Conversion to cmake building system
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 76a8e935be38afad0105c46d5a2aa7b58162223b)
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 |