mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-06 02:36:04 -04:00
Make find_dependency(SQLite3 REQUIRED) conditional as mentioned in #276
This commit is contained in:
parent
279f490dbc
commit
7117633266
@ -1,5 +1,7 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(SQLite3 REQUIRED)
|
||||
if(NOT @SQLITECPP_INTERNAL_SQLITE@)
|
||||
find_dependency(SQLite3 REQUIRED)
|
||||
endif()
|
||||
if(@UNIX@)
|
||||
set(THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@)
|
||||
find_dependency(Threads REQUIRED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user