Skip to content

Commit

Permalink
Merge pull request #278 from sum01/fix_cmake_config
Browse files Browse the repository at this point in the history
Add missing Threads dependency to Config.cmake.in
  • Loading branch information
SRombauts authored May 14, 2020
2 parents a5e1c70 + 42f476d commit f0cd9e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/SQLiteCppConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
include(CMakeFindDependencyMacro)
find_dependency(SQLite3)
find_dependency(SQLite3 REQUIRED)
if(@UNIX@)
set(THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@)
find_dependency(Threads REQUIRED)
endif()

@PACKAGE_INIT@

Expand Down

0 comments on commit f0cd9e3

Please sign in to comment.