mirror of
https://github.com/libAthena/athena.git
synced 2025-08-12 06:59:27 +00:00
Remove GXXDEBUG macro from atdna compilation
This commit is contained in:
parent
335ed6bb6f
commit
f3852eb0d2
@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
if(NOT CMAKE_CROSSCOMPILING)
|
if(NOT CMAKE_CROSSCOMPILING)
|
||||||
|
|
||||||
|
get_directory_property(ATDNA_DEFINES COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_ITEM ATDNA_DEFINES _GLIBCXX_DEBUG=1)
|
||||||
|
set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "${ATDNA_DEFINES}")
|
||||||
|
|
||||||
# Force this binary to Release flags (to make MSVC happy)
|
# Force this binary to Release flags (to make MSVC happy)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_RELEASE}")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user