diff options
author | Michael Hirsch <scivision@users.noreply.gitlab.kitware.com> | 2022-11-07 00:03:32 (GMT) |
---|---|---|
committer | Michael Hirsch <scivision@users.noreply.gitlab.kitware.com> | 2022-11-07 00:06:31 (GMT) |
commit | 81990208240e59ae5b97a735366f7a817e00bb60 (patch) | |
tree | 3d5b636fac8a15f74762c738ca8de7432a178b5a /CompileFlags.cmake | |
parent | 890d44792307134b41274b52cd972e4944af7d36 (diff) | |
download | CMake-81990208240e59ae5b97a735366f7a817e00bb60.zip CMake-81990208240e59ae5b97a735366f7a817e00bb60.tar.gz CMake-81990208240e59ae5b97a735366f7a817e00bb60.tar.bz2 |
own CMakeLists: remove unreachable code
Diffstat (limited to 'CompileFlags.cmake')
-rw-r--r-- | CompileFlags.cmake | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CompileFlags.cmake b/CompileFlags.cmake index bf8a082..6331af1 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") |