re-enable backward on Windows/macOS

This commit is contained in:
tildearrow 2022-07-23 22:19:07 -05:00
parent de77d51d7a
commit 617569b6b8

View file

@ -33,12 +33,11 @@ if (ANDROID)
endif()
else()
set(USE_RTMIDI_DEFAULT ON)
CHECK_INCLUDE_FILE(execinfo.h EXECINFO_FOUND)
if (EXECINFO_FOUND)
if (WIN32 OR APPLE)
set(USE_BACKWARD_DEFAULT ON)
else()
find_library(EXECINFO_IS_LIBRARY execinfo)
if (EXECINFO_IS_LIBRARY)
CHECK_INCLUDE_FILE(execinfo.h EXECINFO_FOUND)
if (EXECINFO_FOUND)
set(USE_BACKWARD_DEFAULT ON)
else()
set(USE_BACKWARD_DEFAULT OFF)