diff options
author | Brad King <brad.king@kitware.com> | 2016-08-03 13:20:54 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-08-03 13:20:54 (GMT) |
commit | aabf8772fd3a2dde07d48d41658db728755e3041 (patch) | |
tree | 76eecde845783dd4f7e9e4a2e5607f7a38930713 /Modules/Compiler | |
parent | a85e2a89de3d394d084703b29cd7e0ef3bf8f570 (diff) | |
parent | 85e0314201005c923420eb650a9629e38356b77a (diff) | |
download | CMake-aabf8772fd3a2dde07d48d41658db728755e3041.zip CMake-aabf8772fd3a2dde07d48d41658db728755e3041.tar.gz CMake-aabf8772fd3a2dde07d48d41658db728755e3041.tar.bz2 |
Merge topic 'gcc-fvisibility-version'
85e03142 GNU: Use -fvisibility on GCC 4.0 and 4.1 too
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/GNU.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake index 34d4eaf..4d2fe5b 100644 --- a/Modules/Compiler/GNU.cmake +++ b/Modules/Compiler/GNU.cmake @@ -25,7 +25,7 @@ macro(__compiler_gnu lang) if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.4) set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE") endif() - if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 4.2) + if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 4.0) set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=") endif() set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC") |