summaryrefslogtreecommitdiff
path: root/CompileFlags.cmake
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.gitlab.kitware.com>2022-11-06 19:03:32 -0500
committerMichael Hirsch <scivision@users.noreply.gitlab.kitware.com>2022-11-06 19:06:31 -0500
commit81990208240e59ae5b97a735366f7a817e00bb60 (patch)
tree3d5b636fac8a15f74762c738ca8de7432a178b5a /CompileFlags.cmake
parent890d44792307134b41274b52cd972e4944af7d36 (diff)
downloadcmake-81990208240e59ae5b97a735366f7a817e00bb60.tar.gz
own CMakeLists: remove unreachable code
Diffstat (limited to 'CompileFlags.cmake')
-rw-r--r--CompileFlags.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/CompileFlags.cmake b/CompileFlags.cmake
index bf8a082184..6331af11cb 100644
--- a/CompileFlags.cmake
+++ b/CompileFlags.cmake
@@ -87,11 +87,6 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL SunPro AND
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.13)
if (NOT CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD EQUAL 98)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03")
- elseif(CMAKE_VERSION VERSION_LESS 3.8.20170502)
- # CMake knows how to add this flag for compilation as C++11,
- # but has not been taught that SunPro needs it for linking too.
- # Add it in a place that will be used for both.
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif()
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -library=stlport4")