summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Intel-CXX.cmake
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-02-07 10:50:08 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-02-07 10:50:08 (GMT)
commitb7f58511cf050b8976445694446c695c9d230b8b (patch)
tree24a8878711fbab484d284b0290b295d75211af2f /Modules/Compiler/Intel-CXX.cmake
parent5f7d7bdd67d0b00b726161b235d3719ba4f33d05 (diff)
downloadCMake-b7f58511cf050b8976445694446c695c9d230b8b.zip
CMake-b7f58511cf050b8976445694446c695c9d230b8b.tar.gz
CMake-b7f58511cf050b8976445694446c695c9d230b8b.tar.bz2
Visibility: the Intel compiler does not support -fvisibility on windows
Diffstat (limited to 'Modules/Compiler/Intel-CXX.cmake')
-rw-r--r--Modules/Compiler/Intel-CXX.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/Compiler/Intel-CXX.cmake b/Modules/Compiler/Intel-CXX.cmake
index 36a838d..020e862 100644
--- a/Modules/Compiler/Intel-CXX.cmake
+++ b/Modules/Compiler/Intel-CXX.cmake
@@ -8,9 +8,5 @@ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")
set(CMAKE_DEPFILE_FLAGS_CXX "-MMD -MT <OBJECT> -MF <DEPFILE>")
-if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0)
- set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
-endif()
-
set(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")