Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WinRT: Disable harmless (in our case) linker warning.
  • Loading branch information
icculus committed Jul 26, 2017
1 parent 0e7f3ee commit 99992bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -158,7 +158,9 @@ if(PHYSFS_BUILD_STATIC)
set_target_properties(physfs-static PROPERTIES OUTPUT_NAME "physfs")
endif()
if(WINRT)
# Ignore LNK4264 warnings; we don't author any WinRT components, just consume them, so we're okay in a static library.
set_target_properties(physfs-static PROPERTIES VS_WINRT_COMPONENT True)
set_target_properties(physfs-static PROPERTIES STATIC_LIBRARY_FLAGS "/ignore:4264")
endif()

set(PHYSFS_LIB_TARGET physfs-static)
Expand Down

0 comments on commit 99992bb

Please sign in to comment.