From ef0d65901481f57165198e4db4ed7289d8124fd8 Mon Sep 17 00:00:00 2001 From: Leander Schulten Date: Sun, 10 Sep 2023 16:16:32 +0200 Subject: [PATCH] setargv.obj is not available on uwp --- src/apps/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt index cdd85bd36b..5c63cab787 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()