@ -28,22 +28,8 @@ if(NOT DEFINED CV_GCC AND CMAKE_CXX_COMPILER_ID MATCHES "GNU")
endif ( )
endif ( )
if ( NOT DEFINED CV_CLANG AND CMAKE_CXX_COMPILER_ID MATCHES "Clang" ) # C l a n g o r AppleClang ( see CMP0025 )
if ( NOT DEFINED CV_CLANG AND CMAKE_CXX_COMPILER_ID MATCHES "Clang" ) # C l a n g o r AppleClang ( see CMP0025 )
set ( CV_CLANG 1 )
set ( CV_CLANG 1 )
set ( CMAKE_COMPILER_IS_CLANGCXX 1 ) # T O D O n e x t r e l e a s e : r e m o v e t h i s
set ( CMAKE_COMPILER_IS_CLANGCC 1 ) # T O D O n e x t r e l e a s e : r e m o v e t h i s
endif ( )
endif ( )
function ( access_CMAKE_COMPILER_IS_CLANGCXX )
if ( NOT OPENCV_SUPPRESS_DEPRECATIONS )
message ( WARNING " DEPRECATED: CMAKE_COMPILER_IS_CLANGCXX support is deprecated in OpenCV.
C o n s i d e r u s i n g :
- C V _ G C C # G C C
- C V _ C L A N G # C l a n g o r AppleClang ( see CMP0025 )
" )
endif ( )
endfunction ( )
variable_watch ( CMAKE_COMPILER_IS_CLANGCXX access_CMAKE_COMPILER_IS_CLANGCXX )
variable_watch ( CMAKE_COMPILER_IS_CLANGCC access_CMAKE_COMPILER_IS_CLANGCXX )
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# D e t e c t I n t e l I C C c o m p i l e r
# D e t e c t I n t e l I C C c o m p i l e r