Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
6c8600ab
Commit
6c8600ab
authored
Jul 10, 2009
by
Jesse Beder
Browse files
Added check for extra compiler flags if using gcc
parent
174f2c1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
CMakeLists.txt
+3
-1
No files found.
CMakeLists.txt
View file @
6c8600ab
...
...
@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6)
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_MINOR
"1"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment