From 3353376d8d215cfa04f8e4abba689cdb6b8c374f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Thu, 15 Aug 2024 18:38:57 +0200 Subject: [PATCH] Use find_dependency instead of find_package --- PackageConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PackageConfig.cmake.in b/PackageConfig.cmake.in index 5866f108e..31c4c3735 100644 --- a/PackageConfig.cmake.in +++ b/PackageConfig.cmake.in @@ -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")