diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-15 23:13:10 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-15 23:13:10 (GMT) |
commit | 9672b332b15a0ba66b929e28fdac2f5d854d9b99 (patch) | |
tree | ebd3a6a0dcd6df704801af3acad7f54131e73593 /Modules/GenerateExportHeader.cmake | |
parent | 10d8c446d5893446eaf4bd6e295fb6ea0d83d7f4 (diff) | |
download | CMake-9672b332b15a0ba66b929e28fdac2f5d854d9b99.zip CMake-9672b332b15a0ba66b929e28fdac2f5d854d9b99.tar.gz CMake-9672b332b15a0ba66b929e28fdac2f5d854d9b99.tar.bz2 |
Don't enable deprecated on HP.
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r-- | Modules/GenerateExportHeader.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake index 758eb25..c15a5be 100644 --- a/Modules/GenerateExportHeader.cmake +++ b/Modules/GenerateExportHeader.cmake @@ -158,7 +158,7 @@ macro(_test_compiler_hidden_visibility) endmacro() macro(_test_compiler_has_deprecated) - if("${CMAKE_CXX_COMPILER_ID}" MATCHES Borland) + if("${CMAKE_CXX_COMPILER_ID}" MATCHES Borland OR "${CMAKE_CXX_COMPILER_ID}" MATCHES HP) set(COMPILER_HAS_DEPRECATED "" CACHE INTERNAL "Compiler support for a deprecated attribute") else() _check_cxx_compiler_attribute("__attribute__((__deprecated__))" COMPILER_HAS_DEPRECATED_ATTR) |