aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Hagenauer <luis.hage@outlook.de>2020-06-04 14:07:09 +0200
committerGitHub <noreply@github.com>2020-06-04 14:07:09 +0200
commitb807de36d4236014ec426aa81eb2952c0b027c64 (patch)
treecbbf136f0ce6f1926ff57f9482f26e1a92a715e9
parent96568d5b076ec52069766089eb40a9b71f4f1dd9 (diff)
downloadrneovim-b807de36d4236014ec426aa81eb2952c0b027c64.tar.gz
rneovim-b807de36d4236014ec426aa81eb2952c0b027c64.tar.bz2
rneovim-b807de36d4236014ec426aa81eb2952c0b027c64.zip
build: match WSL2 kernel name (#12425)
-rw-r--r--config/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
index 0ca41d5dfd..6c9e06d59d 100644
--- a/config/CMakeLists.txt
+++ b/config/CMakeLists.txt
@@ -12,7 +12,7 @@ check_type_size("size_t" SIZEOF_SIZE_T)
check_type_size("long long" SIZEOF_LONG_LONG)
check_type_size("void *" SIZEOF_VOID_PTR)
-if (CMAKE_HOST_SYSTEM_VERSION MATCHES ".*-Microsoft")
+if (CMAKE_HOST_SYSTEM_VERSION MATCHES ".*-(Microsoft|microsoft-standard)")
# Windows Subsystem for Linux
set(HAVE_WSL 1)
endif()