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
689c5fa7
"vscode:/vscode.git/clone" did not exist on "db77001f558ab10261c755290ad1a3a54d2c969e"
Commit
689c5fa7
authored
Jul 10, 2009
by
jbeder
Browse files
Added check for extra compiler flags if using gcc
parent
10b5961f
Changes
1
Show 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 @
689c5fa7
...
@@ -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"
)
...
...
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