Respect supplied CMAKE_C_FLAGS

This commit is contained in:
Tomáš Čech 2016-04-28 20:19:40 +02:00
parent bcdeb72189
commit 1124e78dda

View file

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1.0)
project(sway C)
set(CMAKE_C_FLAGS "-g")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_EXTENSIONS OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)