mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 06:25:16 +00:00
re-enable backward on Windows/macOS
This commit is contained in:
parent
de77d51d7a
commit
617569b6b8
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue