mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 22:00:13 +08:00
14 lines
460 B
Diff
14 lines
460 B
Diff
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)
|
|
|