Skip to content

Commit

Permalink
irr: handle RELWITHDEBINFO too
Browse files Browse the repository at this point in the history
Signed-off-by: David Heidelberg <[email protected]>
  • Loading branch information
Tobias Frost authored and okias committed Aug 9, 2024
1 parent 3fd3b97 commit d418754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions irr/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)

if(CMAKE_CXX_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 $ENV{CPPFLAGS}")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -g")
set(CMAKE_CXX_FLAGS_DEBUG "-g $ENV{CPPFLAGS}")

add_compile_options(-Wall -pipe -fno-exceptions)
Expand Down

0 comments on commit d418754

Please sign in to comment.