Fix lingering CMAKE_REQUIRED_INCLUDES variable from FindMBEDTLS, this breaks any further can-compile checks.

This commit is contained in:
Admiral H. Curtiss 2023-06-06 19:09:31 +02:00
parent 5d40871dd4
commit 2a9616d0a2
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 1 additions and 0 deletions

View File

@ -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