mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 20:51:37 +08:00
18 lines
520 B
Diff
18 lines
520 B
Diff
diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt
|
|
index cdd85bd3..5c63cab7 100644
|
|
--- a/src/apps/CMakeLists.txt
|
|
+++ b/src/apps/CMakeLists.txt
|
|
@@ -37,10 +37,12 @@ if(NOT MSVC)
|
|
|
|
else()
|
|
|
|
+ if(NOT WINDOWS_STORE)
|
|
# Linking to setargv.obj enables wildcard globbing for the
|
|
# command line utilities, when compiling with MSVC
|
|
# https://docs.microsoft.com/cpp/c-language/expanding-wildcard-arguments
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} setargv.obj")
|
|
+ endif()
|
|
|
|
endif()
|
|
|