summaryrefslogtreecommitdiff
path: root/Modules/Platform/CYGWIN-CXX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/CYGWIN-CXX.cmake')
-rw-r--r--Modules/Platform/CYGWIN-CXX.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Platform/CYGWIN-CXX.cmake b/Modules/Platform/CYGWIN-CXX.cmake
new file mode 100644
index 000000000..bf37f7903
--- /dev/null
+++ b/Modules/Platform/CYGWIN-CXX.cmake
@@ -0,0 +1,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)