diff --git a/cmake/NekoThreadPoolConfig.cmake.in b/cmake/NekoThreadPoolConfig.cmake.in index 393efce..6ae810d 100644 --- a/cmake/NekoThreadPoolConfig.cmake.in +++ b/cmake/NekoThreadPoolConfig.cmake.in @@ -2,8 +2,10 @@ # Find required dependencies # NekoSchema is a header-only dependency, just need to find it for includes +# Note: find_dependency() must not be given REQUIRED or QUIET; it forwards the +# REQUIRED/QUIET-ness requested by the caller of find_package(NekoThreadPool). include(CMakeFindDependencyMacro) -find_dependency(NekoSchema REQUIRED) +find_dependency(NekoSchema) # Include the targets file include("${CMAKE_CURRENT_LIST_DIR}/NekoThreadPoolTargets.cmake")