Skip to content

Commit

Permalink
Merge pull request #3889 from autoantwort/uwp
Browse files Browse the repository at this point in the history
setargv.obj is not available on uwp
  • Loading branch information
rouault authored Sep 13, 2023
2 parents 140b991 + baa4c61 commit bc4aa41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit bc4aa41

Please sign in to comment.