Clear CMAKE_REQUIRED_FLAGS if backtrace facility isn't found

This commit is contained in:
Cacodemon345 2021-05-10 12:54:06 +06:00 committed by alexey.lysiuk
parent cfc080e37f
commit 14ffe3537f

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 )