Skip to content

Commit

Permalink
Work around a really strange issue when building teakra with -O0 on W…
Browse files Browse the repository at this point in the history
…indows
  • Loading branch information
nadiaholmquist committed Oct 12, 2022
1 parent b33f043 commit 349316a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 349316a

Please sign in to comment.