diff --git a/FindVeerProtocols.cmake b/FindVeerProtocols.cmake index 2caa676..4a37984 100644 --- a/FindVeerProtocols.cmake +++ b/FindVeerProtocols.cmake @@ -13,6 +13,7 @@ if(NOT VEER_PROTOCOLS_IS_EXTERNAL_PROJECT) VEER_PROTOCOLS_INCLUDE_DIRS NAMES veer/common/ports.hpp PATHS ${_search_paths}) + unset(_search_paths) if(VEER_PROTOCOLS_INCLUDE_DIRS) set(VEER_PROTOCOLS_FOUND TRUE)