Remove vendored libsqlite from the repository

We now link to the system's library.

Windows implementation pending. MSVC build will be broken for a short
while.
This commit is contained in:
2020-12-14 03:42:11 +01:00
parent 94b7864b02
commit 454e0284af
5 changed files with 10 additions and 242703 deletions

View File

@@ -43,11 +43,12 @@ add_executable(openfusion ${SOURCES})
set_target_properties(openfusion PROPERTIES OUTPUT_NAME ${BIN_NAME})
target_link_libraries(openfusion sqlite3)
# Use pthreads if not generating a VS solution or MinGW makefile (because MinGW will prefer Win32 threads)
# Checking if the compiler ID is MSVC will allow us to open the project as a CMake project in VS.
# It's not something you should do, but it's there if you need it...
if (NOT CMAKE_GENERATOR MATCHES "Visual Studio" AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND NOT CMAKE_GENERATOR MATCHES "MinGW Makefiles")
find_package(Threads REQUIRED)
target_link_libraries(openfusion pthread)
target_link_libraries(openfusion dl)
endif()