Permalink
Browse files

fix bundled sqlite build

  • Loading branch information...
proller committed Oct 1, 2016
1 parent f6e24a0 commit 371b8c04ce3428dd08849cf49f36b689b249fb32
Showing with 1 addition and 2 deletions.
  1. +1 −1 cmake/Modules/FindSQLite3.cmake
  2. +0 −1 src/CMakeLists.txt
@@ -11,7 +11,7 @@ find_package_handle_standard_args(SQLite3 DEFAULT_MSG SQLITE3_LIBRARY SQLITE3_IN
endif()
if (NOT SQLITE3_INCLUDE_DIR)
if (NOT SQLITE3_INCLUDE_DIR OR NOT SQLITE3_LIBRARY)
find_path(SQLITE3_INCLUDE_DIR sqlite3.h ${PROJECT_SOURCE_DIR}/external/sqlite3 NO_DEFAULT_PATH)
if (SQLITE3_INCLUDE_DIR)
add_subdirectory(${PROJECT_SOURCE_DIR}/external/sqlite3)
View
@@ -501,7 +501,6 @@ if(ENABLE_SQLITE3)
endif()
if(FORCE_SQLITE3)
set(USE_SQLITE3 1)
endif()

0 comments on commit 371b8c0

Please sign in to comment.