Skip to content

Commit

Permalink
Use find_dependency instead of find_package
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Aug 15, 2024
1 parent cd30a60 commit 3353376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PackageConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(CMakeFindDependencyMacro)

if(@CHECK_THREADS@)
find_package(Threads REQUIRED)
find_dependency(Threads REQUIRED)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/zenohpicoTargets.cmake")

0 comments on commit 3353376

Please sign in to comment.