From 14ffe3537f74b6c543c2ceddb3c6157e4f9a6092 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 10 May 2021 12:54:06 +0600 Subject: [PATCH] Clear CMAKE_REQUIRED_FLAGS if backtrace facility isn't found --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 98116460a..577375eaa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,6 +340,7 @@ if( HAVE_VM_JIT AND UNIX ) else( HAVE_LIBEXECINFO ) set( HAVE_VM_JIT NO ) endif( HAVE_LIBEXECINFO ) + set( CMAKE_REQUIRED_FLAGS ) endif( NOT HAVE_BACKTRACE ) endif( HAVE_VM_JIT AND UNIX )