diff --git a/CMake/FindMBEDTLS.cmake b/CMake/FindMBEDTLS.cmake index 8bca24e13b..6059dc9639 100644 --- a/CMake/FindMBEDTLS.cmake +++ b/CMake/FindMBEDTLS.cmake @@ -15,6 +15,7 @@ check_cxx_source_compiles(" #endif int main() {}" MBEDTLS_VERSION_OK) +unset(CMAKE_REQUIRED_INCLUDES) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(MBEDTLS DEFAULT_MSG