Remove GXXDEBUG macro from atdna compilation

This commit is contained in:
Jack Andersen 2019-07-06 22:21:13 -10:00
parent 335ed6bb6f
commit f3852eb0d2
1 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,10 @@
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)
if(MSVC)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_RELEASE}")