diff --git a/CMakeLists.txt b/CMakeLists.txt index 98116460a01..577375eaabe 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 )