aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-06-22 16:09:19 +0200
committerGitHub <noreply@github.com>2022-06-22 07:09:19 -0700
commitb20b28249b1c58698be09c5b9d6785cfb1b12fb3 (patch)
tree0ff873c5b055a4549991e348e99858a84c20bf97
parentdd591adf8a1d145b2fdf9115509bcc80c9ee7943 (diff)
downloadrneovim-b20b28249b1c58698be09c5b9d6785cfb1b12fb3.tar.gz
rneovim-b20b28249b1c58698be09c5b9d6785cfb1b12fb3.tar.bz2
rneovim-b20b28249b1c58698be09c5b9d6785cfb1b12fb3.zip
fix(build): only pass -municode if MINGW #19049
Avoids this warning in the Windows build: 2022-06-22T08:58:13.0542153Z LINK : warning LNK4044: unrecognized option '/municode'; ignored [D:\a\neovim\neovim\build\test\functional\fixtures\printenv-test.vcxproj]
-rw-r--r--test/functional/fixtures/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/fixtures/CMakeLists.txt b/test/functional/fixtures/CMakeLists.txt
index 270540de2e..6010fcaf1e 100644
--- a/test/functional/fixtures/CMakeLists.txt
+++ b/test/functional/fixtures/CMakeLists.txt
@@ -4,7 +4,7 @@ target_link_libraries(tty-test ${LIBUV_LIBRARIES})
add_executable(shell-test EXCLUDE_FROM_ALL shell-test.c)
add_executable(printargs-test EXCLUDE_FROM_ALL printargs-test.c)
add_executable(printenv-test EXCLUDE_FROM_ALL printenv-test.c)
-if(WIN32)
+if(MINGW)
set_target_properties(printenv-test PROPERTIES LINK_FLAGS -municode)
endif()