From 753562e25d8287c75020eb465c5eb7f72f5e5340 Mon Sep 17 00:00:00 2001 From: Luca Schlecker Date: Thu, 30 Jun 2022 13:57:37 +0200 Subject: [PATCH] fix CrowConfig.cmake not being able to find Findasio.cmake module. --- cmake/CrowConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CrowConfig.cmake.in b/cmake/CrowConfig.cmake.in index 239c1bcda..6f39c6c99 100644 --- a/cmake/CrowConfig.cmake.in +++ b/cmake/CrowConfig.cmake.in @@ -4,7 +4,7 @@ include(CMakeFindDependencyMacro) get_filename_component(CROW_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) -list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) +list(APPEND CMAKE_MODULE_PATH ${CROW_CMAKE_DIR}) find_dependency(asio) list(REMOVE_AT CMAKE_MODULE_PATH -1)