-g is added by default

This commit is contained in:
Drew DeVault 2017-06-12 01:26:44 -04:00
parent 508d135de7
commit c385a7f8af
1 changed files with 0 additions and 3 deletions

View File

@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 3.1.0)
project(wlroots C) project(wlroots C)
if (CMAKE_BUILD_TYPE EQUAL "Debug")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
endif()
set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD 99)
set(CMAKE_C_EXTENSIONS OFF) set(CMAKE_C_EXTENSIONS OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON)