vcpkg/ports/triton/fix-usage.patch
Alberto Garcia Illera 3d7ff268e4
[New port] Add Triton port (#23111)
* Add Triton port

* Delete debugging

* add versioning

* add port-version

* run x-add-version --all

* reverse port-version

* Fix build

* Fix usage

* Not support arm triplets

* Update to the fix commit

* Disable examples and tests

* version

* fix feature python

* version

* require specifig features of capstone to build Triton

* remove static-crt feature from capstone

* add versioning

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-02-22 13:46:54 -08:00

15 lines
474 B
Diff

diff --git a/src/libtriton/Config.cmake.in b/src/libtriton/Config.cmake.in
index 683b5f2..94c58bc 100644
--- a/src/libtriton/Config.cmake.in
+++ b/src/libtriton/Config.cmake.in
@@ -19,6 +19,9 @@ message(STATUS "Found Triton: ${CMAKE_CURRENT_LIST_DIR}/tritonConfig.cmake (foun
include(CMakeFindDependencyMacro)
find_dependency(Boost)
+if (@Z3_INTERFACE@)
+ find_dependency(Z3 CONFIG)
+endif()
# Triton include
include_directories("@CMAKE_INSTALL_PREFIX@/include")