Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
4ca9b008
Commit
4ca9b008
authored
Apr 03, 2014
by
Rolf Eike Beer
Committed by
Brad King
May 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CompileFlags: Test for C++ features after selecting flags
Some flags we select may affect availability of C++ features.
parent
c553d687
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
CompileFlags.cmake
CompileFlags.cmake
+2
-1
No files found.
CompileFlags.cmake
View file @
4ca9b008
...
...
@@ -19,7 +19,6 @@ endif()
if
(
CMAKE_GENERATOR MATCHES
"Visual Studio 6"
)
set
(
CMAKE_SKIP_COMPATIBILITY_TESTS 1
)
endif
()
include
(
${
CMAKE_ROOT
}
/Modules/CMakeBackwardCompatibilityCXX.cmake
)
if
(
WIN32 AND
"
${
CMAKE_C_COMPILER_ID
}
"
MATCHES
"^(Intel)$"
)
set
(
_INTEL_WINDOWS 1
)
...
...
@@ -68,3 +67,5 @@ endif ()
if
(
CMAKE_SYSTEM_NAME STREQUAL Linux AND CMAKE_SYSTEM_PROCESSOR STREQUAL parisc
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
-Wl,--unique=.text._*"
)
endif
()
include
(
${
CMAKE_ROOT
}
/Modules/CMakeBackwardCompatibilityCXX.cmake
)
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