Merge pull request #335 from SirR4T/SirR4T-add-DEBUG-macro-in-CMakeLists_txt

Define the `DEBUG` macro in CMakeLists.txt
This commit is contained in:
Lee Thomason 2015-05-19 09:37:33 -07:00
commit ff53d7172c
1 changed files with 4 additions and 2 deletions

View File

@ -51,6 +51,8 @@ if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif(MSVC)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
################################
# Add targets
option(BUILD_SHARED_LIBS "build shared or static libraries" ON)