vcpkg/ports/proj/fix-uwp.patch
2023-09-13 16:27:43 -07:00

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()