Skip to content

Commit

Permalink
irr: account for CPPFLAGS
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 7d3b012 commit 3fd3b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions irr/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ endif()
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)

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

add_compile_options(-Wall -pipe -fno-exceptions)

Expand Down

0 comments on commit 3fd3b97

Please sign in to comment.