CMAKE_CXX_FLAGS_DEBUG are ok by default
parent
afa54fffb3
commit
bc1d6fe364
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue