Moves sqlite3 files to separate dir

Only intention is to separate my code from 3rd party code.
This commit is contained in:
Linus Probert 2018-08-21 16:32:26 +02:00
parent bec9eb429d
commit 8c25693d6d
3 changed files with 3 additions and 2 deletions

View File

@ -100,6 +100,7 @@ include_directories(
${SDL2_IMAGE_INCLUDE_DIR}
${SDL2_TTF_INCLUDE_DIR}
${SDL2_MIXER_INCLUDE_DIR}
sqlite3
)
if (CMOCKA_FOUND)
@ -167,7 +168,7 @@ add_executable(breakhack
src/projectile
src/vector2d
src/map_room_modifiers
src/sqlite3
sqlite3/sqlite3
src/db
src/settings
src/actiontextbuilder
@ -182,7 +183,7 @@ add_executable(breakhack
)
# Sqlite has some warnings that I we don't need to see
set_source_files_properties(src/sqlite3.c COMPILE_FLAGS -w)
set_source_files_properties(sqlite3/sqlite3.c COMPILE_FLAGS -w)
target_link_libraries(breakhack
${CMAKE_DL_LIBS} # Sqlite needs DL libs