summaryrefslogtreecommitdiff
path: root/build-type.patch
blob: cc9e5543a66c9c8fc0b7b1cee98e736308b5eb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --color -ur neovim-0.8.0.orig/cmake/Util.cmake neovim-0.8.0/cmake/Util.cmake
--- neovim-0.8.0.orig/cmake/Util.cmake	2022-09-30 17:15:13.000000000 +0200
+++ neovim-0.8.0/cmake/Util.cmake	2022-10-01 09:53:36.320939926 +0200
@@ -162,7 +162,7 @@
 # Passing CMAKE_BUILD_TYPE for multi-config generators will now not only
 # not be used, but also generate a warning for the user.
 function(set_default_buildtype)
-  set(allowableBuildTypes Debug Release MinSizeRel RelWithDebInfo)
+  set(allowableBuildTypes Debug Release MinSizeRel RelWithDebInfo PLD)
 
   get_property(isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
   if(isMultiConfig)