From ffffd2d0d27c1440c1747ed78461ec06d425c99d Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 10 May 2021 12:50:05 +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 a5696bb77..873a93a72 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 )