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
yangql
googletest
Commits
f8925343
Commit
f8925343
authored
Feb 04, 2019
by
Matthias Grob
Browse files
cmake: detect Cygwin which needs extensions to build
parent
67265e07
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 @
f8925343
...
...
@@ -8,7 +8,9 @@ if (CMAKE_VERSION VERSION_LESS "3.1")
else
()
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
if
(
NOT CYGWIN
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
endif
()
endif
()
if
(
POLICY CMP0048
)
...
...
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