summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/HP-UX-GNU-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-03 11:50:47 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-05 13:45:13 (GMT)
commit4feba34d02fe42fd20209e5b247f91d8e0f7a2ac (patch)
tree9c9a10069461e9256e04f7076288275602eb42a9 /Modules/Platform/HP-UX-GNU-CXX.cmake
parent1eb3ed06cbec8693572398700986cdd970212d4f (diff)
downloadCMake-4feba34d02fe42fd20209e5b247f91d8e0f7a2ac.zip
CMake-4feba34d02fe42fd20209e5b247f91d8e0f7a2ac.tar.gz
CMake-4feba34d02fe42fd20209e5b247f91d8e0f7a2ac.tar.bz2
GNU: Do not use -fvisibility on AIX or HP-UX
Use of `-fvisibility=hidden` warns: warning: visibility attribute not supported in this configuration; ignored
Diffstat (limited to 'Modules/Platform/HP-UX-GNU-CXX.cmake')
-rw-r--r--Modules/Platform/HP-UX-GNU-CXX.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/HP-UX-GNU-CXX.cmake b/Modules/Platform/HP-UX-GNU-CXX.cmake
index 689bed0..ac72560 100644
--- a/Modules/Platform/HP-UX-GNU-CXX.cmake
+++ b/Modules/Platform/HP-UX-GNU-CXX.cmake
@@ -1,2 +1,3 @@
include(Platform/HP-UX-GNU)
__hpux_compiler_gnu(CXX)
+unset(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN)