mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
[cmake] Do not define DEBUG macros for RelWithDebInfo builds
This commit is contained in:
parent
7bac90fdcb
commit
9c6917526c
@ -15,9 +15,9 @@ target_include_directories(${PROJECT_NAME}_c SYSTEM INTERFACE $<INSTALL_INTERFAC
|
|||||||
target_compile_definitions(${PROJECT_NAME}_c PUBLIC
|
target_compile_definitions(${PROJECT_NAME}_c PUBLIC
|
||||||
APP4TRIQS_GIT_HASH=${PROJECT_GIT_HASH}
|
APP4TRIQS_GIT_HASH=${PROJECT_GIT_HASH}
|
||||||
TRIQS_GIT_HASH=${TRIQS_GIT_HASH}
|
TRIQS_GIT_HASH=${TRIQS_GIT_HASH}
|
||||||
$<$<CONFIG:Debug,RelWithDebInfo>:APP4TRIQS_DEBUG>
|
$<$<CONFIG:Debug>:APP4TRIQS_DEBUG>
|
||||||
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_DEBUG>
|
$<$<CONFIG:Debug>:TRIQS_DEBUG>
|
||||||
$<$<CONFIG:Debug,RelWithDebInfo>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
|
$<$<CONFIG:Debug>:TRIQS_ARRAYS_ENFORCE_BOUNDCHECK>
|
||||||
)
|
)
|
||||||
|
|
||||||
# Install library and headers
|
# Install library and headers
|
||||||
|
Loading…
Reference in New Issue
Block a user