Skip to content

Commit 232d951

Browse files
committed
build: ensure that dependencies are found for consumers
LLBuild depends on `Threads` and `SQLite3`. Add the module dependencies into the module configuration so that the consumer does not need to provide them *before* the import of the configuration.
1 parent 78134c7 commit 232d951

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/modules/LLBuildConfig.cmake.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
set(THREADS_PREFER_PTHREAD_FLAG FALSE)
2+
find_package(Threads REQUIRED)
3+
4+
find_package(SQLite3 QUIET)
5+
16
include(@LLBuild_EXPORTS_FILE@)

0 commit comments

Comments
 (0)