aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPelanyo Kamara <pelanyokamara@gmail.com>2020-05-11 23:35:40 +0100
committerGitHub <noreply@github.com>2020-05-11 15:35:40 -0700
commit525eb02c2800bf7451bca1f0621b9513ca3c08e8 (patch)
treeeee7eb2a09ad0839ae2cc0231ddb21578bb319ee
parent33b914b3ad6538d4df63d69381a540e729149d47 (diff)
downloadvcpkg-525eb02c2800bf7451bca1f0621b9513ca3c08e8.tar.gz
vcpkg-525eb02c2800bf7451bca1f0621b9513ca3c08e8.zip
[zydis] Fix portfile (#11173)
* Updated zydis portfile.cmake Fixed issue with Zycore includes being in the wrong place. * Increase zydis package version number * Change version to fit CONTROL spec
-rw-r--r--ports/zydis/CONTROL4
-rw-r--r--ports/zydis/portfile.cmake7
2 files changed, 9 insertions, 2 deletions
diff --git a/ports/zydis/CONTROL b/ports/zydis/CONTROL
index 3d50b2023..4bb8dd70f 100644
--- a/ports/zydis/CONTROL
+++ b/ports/zydis/CONTROL
@@ -1,4 +1,4 @@
Source: zydis
-Version: 3.1.0
+Version: 3.1.0-1
Homepage: https://zydis.re
-Description: Fast and lightweight x86/x86-64 disassembler library. \ No newline at end of file
+Description: Fast and lightweight x86/x86-64 disassembler library.
diff --git a/ports/zydis/portfile.cmake b/ports/zydis/portfile.cmake
index d3dfe1216..eea63d5a7 100644
--- a/ports/zydis/portfile.cmake
+++ b/ports/zydis/portfile.cmake
@@ -30,6 +30,13 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
+vcpkg_configure_cmake(
+ SOURCE_PATH ${ZYCORE_SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(GLOB EXES ${CURRENT_PACKAGES_DIR}/bin/*.exe ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe)
if(EXES)