Commit 689c5fa7 authored by jbeder's avatar jbeder
Browse files

Added check for extra compiler flags if using gcc

parent 10b5961f
...@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6) ...@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6)
project (YAML_CPP) project (YAML_CPP)
SET(CMAKE_CXX_FLAGS "-O2 -Wall -pedantic -Wextra") if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_CXX_FLAGS "-O2 -Wall -pedantic -Wextra")
endif(CMAKE_COMPILER_IS_GNUCC)
set(YAML_CPP_VERSION_MAJOR "0") set(YAML_CPP_VERSION_MAJOR "0")
set(YAML_CPP_VERSION_MINOR "1") set(YAML_CPP_VERSION_MINOR "1")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment