develop #4
+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