Clear CMAKE_REQUIRED_FLAGS if backtrace facility isn't found

This commit is contained in:
Cacodemon345 2021-05-10 12:50:05 +06:00 committed by alexey.lysiuk
parent 5fd41ab910
commit ffffd2d0d2

View file

@ -340,6 +340,7 @@ if( HAVE_VM_JIT AND UNIX )
else( HAVE_LIBEXECINFO ) else( HAVE_LIBEXECINFO )
set( HAVE_VM_JIT NO ) set( HAVE_VM_JIT NO )
endif( HAVE_LIBEXECINFO ) endif( HAVE_LIBEXECINFO )
set( CMAKE_REQUIRED_FLAGS )
endif( NOT HAVE_BACKTRACE ) endif( NOT HAVE_BACKTRACE )
endif( HAVE_VM_JIT AND UNIX ) endif( HAVE_VM_JIT AND UNIX )