[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
This commit is contained in:
Pelanyo Kamara 2020-05-11 23:35:40 +01:00 committed by GitHub
parent 33b914b3ad
commit 525eb02c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -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.
Description: Fast and lightweight x86/x86-64 disassembler library.

View File

@ -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)