Commit 37ed860a authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

GNU C++: record that -fvisibility-inlines-hidden is available since 4.0

See https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Option-Summary.html
parent 94a8ee6f
......@@ -6,7 +6,7 @@ if (WIN32)
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fno-keep-inline-dllexport")
endif()
else()
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.2)
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.0)
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
endif()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment