From a947d4c67f9e32b55d5732d4bc37842be6de03e1 Mon Sep 17 00:00:00 2001 From: Francois Bleibel <fbleibel@gmail.com> Date: Mon, 27 Sep 2010 11:55:20 +0900 Subject: [PATCH] Removed automatic definition of VP_DEBUG. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fbe7a20..f11f8d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,6 @@ IF(\"${CMAKE_BUILD_TYPE}\" STREQUAL \"\" ) ELSE(\"${CMAKE_BUILD_TYPE}\" STREQUAL \"\" ) IF(${CMAKE_BUILD_TYPE} STREQUAL DEBUG) SET(${PROJECT_NAME}_CXXFLAGS ${CMAKE_CXX_FLAGS_DEBUG}) # Useless since CXX_FLAGS, not CXXFLAGS. - ADD_DEFINITIONS(-DVP_DEBUG -DVP_DEBUG_MODE=15) ENDIF(${CMAKE_BUILD_TYPE} STREQUAL DEBUG) IF(${CMAKE_BUILD_TYPE} STREQUAL RELEASE) SET(${PROJECT_NAME}_CXXFLAGS ${CMAKE_CXX_FLAGS_RELEASE}) # Same here. -- GitLab