Don't enable deprecated on HP.
This commit is contained in:
parent
10d8c446d5
commit
9672b332b1
|
@ -158,7 +158,7 @@ macro(_test_compiler_hidden_visibility)
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(_test_compiler_has_deprecated)
|
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")
|
set(COMPILER_HAS_DEPRECATED "" CACHE INTERNAL "Compiler support for a deprecated attribute")
|
||||||
else()
|
else()
|
||||||
_check_cxx_compiler_attribute("__attribute__((__deprecated__))" COMPILER_HAS_DEPRECATED_ATTR)
|
_check_cxx_compiler_attribute("__attribute__((__deprecated__))" COMPILER_HAS_DEPRECATED_ATTR)
|
||||||
|
|
Loading…
Reference in New Issue