cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
authorAlexander Alekhin <alexander.alekhin@intel.com>
Mon, 26 Mar 2018 11:30:49 +0000 (14:30 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 27 Mar 2018 13:16:59 +0000 (16:16 +0300)
commit08941b7890f5be6806b91608725c6abd96195347
treed4577a5b6af881265f8cb79e603c81b544c6488b
parent24acbecd33d2313c16ec056df7bb0c009c391736
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars

- Recommended compiler checks:
  - GCC: CV_GCC
  - Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
  Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
18 files changed:
3rdparty/carotene/hal/CMakeLists.txt
3rdparty/ippicv/CMakeLists.txt
3rdparty/libjpeg/CMakeLists.txt
3rdparty/libtiff/CMakeLists.txt
3rdparty/tbb/CMakeLists.txt
CMakeLists.txt
cmake/OpenCVCompilerDefenses.cmake
cmake/OpenCVCompilerOptimizations.cmake
cmake/OpenCVCompilerOptions.cmake
cmake/OpenCVDetectCUDA.cmake
cmake/OpenCVDetectCXXCompiler.cmake
cmake/OpenCVDetectTBB.cmake
cmake/OpenCVFindLibsGUI.cmake
cmake/OpenCVPCHSupport.cmake
cmake/OpenCVUtils.cmake
modules/java/jni/CMakeLists.txt
modules/python/common.cmake
samples/gpu/CMakeLists.txt