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()
|
endif()
|
||||||
else()
|
else()
|
||||||
set(USE_RTMIDI_DEFAULT ON)
|
set(USE_RTMIDI_DEFAULT ON)
|
||||||
CHECK_INCLUDE_FILE(execinfo.h EXECINFO_FOUND)
|
if (WIN32 OR APPLE)
|
||||||
if (EXECINFO_FOUND)
|
|
||||||
set(USE_BACKWARD_DEFAULT ON)
|
set(USE_BACKWARD_DEFAULT ON)
|
||||||
else()
|
else()
|
||||||
find_library(EXECINFO_IS_LIBRARY execinfo)
|
CHECK_INCLUDE_FILE(execinfo.h EXECINFO_FOUND)
|
||||||
if (EXECINFO_IS_LIBRARY)
|
if (EXECINFO_FOUND)
|
||||||
set(USE_BACKWARD_DEFAULT ON)
|
set(USE_BACKWARD_DEFAULT ON)
|
||||||
else()
|
else()
|
||||||
set(USE_BACKWARD_DEFAULT OFF)
|
set(USE_BACKWARD_DEFAULT OFF)
|
||||||
|
|
Loading…
Reference in a new issue