updated CMakeLists.txt (fix build on macos)
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 18s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 16s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 13s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make-Without-sqlite3 (push) Successful in 8s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake-Without-sqlite3 (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson-Without-sqlite3 (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 18s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 16s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 13s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make-Without-sqlite3 (push) Successful in 8s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake-Without-sqlite3 (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson-Without-sqlite3 (push) Successful in 12s
This commit is contained in:
+2
-1
@@ -11,7 +11,7 @@ endif()
|
||||
|
||||
include_directories(./src/lib/ ${SQLite3_INCLUDE_DIRS})
|
||||
|
||||
FILE(GLOB_RECURSE SOURCES src/*.c)
|
||||
FILE(GLOB SOURCES src/*.c src/lib/*.c src/file_db/*.c)
|
||||
|
||||
option(USE_SQLITE3 "Enable SQLite3 support" OFF)
|
||||
option(USE_WERROR "Enable SQLite3 support" OFF)
|
||||
@@ -19,6 +19,7 @@ option(USE_WERROR "Enable SQLite3 support" OFF)
|
||||
if(USE_SQLITE3)
|
||||
find_package(SQLite3 REQUIRED)
|
||||
add_definitions(-DUSE_SQLITE3)
|
||||
FILE(GLOB SOURCES src/*.c src/lib/*.c src/sqlite_db/*.c src/file_db/*.c)
|
||||
endif()
|
||||
|
||||
if(USE_WERROR)
|
||||
|
||||
Reference in New Issue
Block a user