apply patch to all builds, not just uwp

This commit is contained in:
Dale Stammen 2017-01-12 12:12:45 -08:00
parent 2f92128e7f
commit e4b1551988

View File

@ -11,13 +11,11 @@ vcpkg_download_distfile(ARCHIVE
)
vcpkg_extract_source_archive(${ARCHIVE})
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES
${CMAKE_CURRENT_LIST_DIR}/0001-Fix-UWP.patch
vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES
${CMAKE_CURRENT_LIST_DIR}/0001-Fix-UWP.patch
)
endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}