vcpkg/ports/pe-parse/arm64-windows-fix.patch
chausner 86c573ec5f
[pe-parse] Update to 1.3.0, [uthenticode] Update to 1.0.6 (#20918)
* Update pe-parse to 1.3.0

* Update CI baseline

* Update uthenticode to 1.0.6

* Update git-tree hash

* Fix ARM64 Windows build

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-26 23:40:12 -07:00

14 lines
608 B
Diff

find_package(Filesystem) fails on arm64 Windows.
We can remove it as it is only used for tests which are not built in vcpkg.
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,6 @@ endif ()
include(cmake/compilation_flags.cmake)
# Greater c++17 filesystem compatibility (like with experimental)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
-find_package(Filesystem COMPONENTS Experimental Final REQUIRED)
list(APPEND GLOBAL_CXXFLAGS ${DEFAULT_CXX_FLAGS})
option(BUILD_SHARED_LIBS "Build Shared Libraries" ON)