Skip to content

Commit

Permalink
Make big-obj debug only
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDTill committed Nov 7, 2024
1 parent a424ec1 commit 573e5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-fomit-frame-pointer -funroll-loops -fvisibility=hidden -fwhole-program -flto>
)
target_link_options(Forscape PRIVATE
-Wa,-mbig-obj
$<$<CONFIG:Debug>:-Wa,-mbig-obj>
)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# using Clang
Expand Down

0 comments on commit 573e5c0

Please sign in to comment.