diff options
author | Arisotura <thetotalworm@gmail.com> | 2022-10-13 23:54:49 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2022-10-13 23:54:49 +0200 |
commit | a8fba8cc3465e736da6a19cd67a9fd99488ba721 (patch) | |
tree | 2870eadc1cefda20afe41ee55ec36388d55e9192 /src/CMakeLists.txt | |
parent | a83fbb65552e221642f3424097f378f0d905a926 (diff) | |
parent | 349316a078f0aa99fa7c5fde995f79685300fd77 (diff) |
Merge branch 'master' of github.com:Arisotura/melonDS
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cdb0587..00262af 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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) |