mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
Work around a really strange issue when building teakra with -O0 on Windows
This commit is contained in:
@ -106,6 +106,8 @@ if (ENABLE_JIT)
|
||||
endif()
|
||||
|
||||
add_subdirectory(teakra EXCLUDE_FROM_ALL)
|
||||
# Workaround for building teakra with -O0 on Windows either failing or hanging forever
|
||||
target_compile_options(teakra PRIVATE "$<$<CONFIG:DEBUG>:-Og>")
|
||||
target_link_libraries(core PRIVATE teakra)
|
||||
|
||||
find_library(m MATH_LIBRARY)
|
||||
|
Reference in New Issue
Block a user