summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/CYGWIN-Determine-CXX.cmake
blob: bf37f79030f691b0465f83565f66a17a3651ff69 (plain)
1
2
3
4
5
6
7
if(NOT CMAKE_CXX_COMPILER_NAMES)
  set(CMAKE_CXX_COMPILER_NAMES c++)
endif()

# Exclude C++ compilers differing from C compiler only by case
# because this platform may have a case-insensitive filesystem.
set(CMAKE_CXX_COMPILER_EXCLUDE CC aCC xlC)