aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-01-17 16:32:41 +0100
committerGitHub <noreply@github.com>2017-01-17 16:32:41 +0100
commitd3b4764dc137e0f6f2c219244e00fba92a64a384 (patch)
tree3346ac4cd705d34fa82966dbe994826e74fefced
parentbe4c8968456231560f17736bf04b4c265a9d7dac (diff)
downloadrneovim-d3b4764dc137e0f6f2c219244e00fba92a64a384.tar.gz
rneovim-d3b4764dc137e0f6f2c219244e00fba92a64a384.tar.bz2
rneovim-d3b4764dc137e0f6f2c219244e00fba92a64a384.zip
win: Define USE_FNAME_CASE (#5962)
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fdd6f0ed79..65e4bbd672 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,8 +42,10 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem ")
endif()
+endif()
- # Enable fixing case-insensitive filenames for Mac.
+if(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
+ # Enable fixing case-insensitive filenames for Windows and Mac.
set(USE_FNAME_CASE TRUE)
endif()