CMAKE_CXX_FLAGS_DEBUG are ok by default

0.8
Bruno Van de Velde 2014-02-27 17:59:21 +01:00
parent afa54fffb3
commit bc1d6fe364
1 changed files with 0 additions and 5 deletions

View File

@ -50,11 +50,6 @@ if( SFML_COMPILER_GCC )
set( CMAKE_C_FLAGS "-Wall -Wextra -Wshadow -Wno-long-long -pedantic" CACHE STRING "C compiler flags" FORCE )
endif()
if( NOT CMAKE_CXX_FLAGS_DEBUG )
set( CMAKE_CXX_FLAGS_DEBUG "-g -O0 -std=c++0x" CACHE STRING "C++ compiler flags (debug)" FORCE )
set( CMAKE_C_FLAGS_DEBUG "-g -O0" CACHE STRING "C++ compiler flags (debug)" FORCE )
endif()
elseif ( SFML_COMPILER_CLANG )
if( NOT CMAKE_CXX_FLAGS )