Append new C flags when adding defines in base CMakeLists.txt.

This commit is contained in:
Nick Barrios 2014-12-19 16:03:51 -05:00
parent ad6defcf33
commit 08875d9e83
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ else(DEBUG_MODE)
set(CMAKE_BUILD_TYPE RELEASE) set(CMAKE_BUILD_TYPE RELEASE)
endif(DEBUG_MODE) endif(DEBUG_MODE)
set(CMAKE_C_FLAGS_DEBUG "-DCOCOS2D_DEBUG=1") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DCOCOS2D_DEBUG=1")
set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
# Compiler options # Compiler options