vcpkg/ports/cfitsio/0006-fix-uwp.patch

14 lines
460 B
Diff
Raw Normal View History

2023-11-15 01:09:58 +01:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7afb480..4fcdf40 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -195,7 +195,7 @@ IF (BUILD_SHARED_LIBS)
# To expand the command line arguments in Windows, see:
# http://msdn.microsoft.com/en-us/library/8bch7bkk.aspx
- if(MSVC)
+ if(MSVC AND NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
set_target_properties(FPack Funpack PROPERTIES LINK_FLAGS "setargv.obj")
endif(MSVC)