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)