Skip to content

Commit

Permalink
[cmake] Do not define DEBUG macros for RelWithDebInfo builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Mar 4, 2024
1 parent 7bac90f commit 9c69175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c++/app4triqs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ target_include_directories(${PROJECT_NAME}_c SYSTEM INTERFACE $<INSTALL_INTERFAC
target_compile_definitions(${PROJECT_NAME}_c PUBLIC
APP4TRIQS_GIT_HASH=${PROJECT_GIT_HASH}
TRIQS_GIT_HASH=${TRIQS_GIT_HASH}
$<$<CONFIG:Debug,RelWithDebInfo>:APP4TRIQS_DEBUG>
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_DEBUG>
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
$<$<CONFIG:Debug>:APP4TRIQS_DEBUG>
$<$<CONFIG:Debug>:TRIQS_DEBUG>
$<$<CONFIG:Debug>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
)

# Install library and headers
Expand Down

0 comments on commit 9c69175

Please sign in to comment.