vcpkg/ports/asmtk/fix-link-amsjit.patch
Stephen Eckels 229c0c7ef4
update asmjit, fbgemm, polyhook2, start asmtk (#27683)
* update asmjit, fbgemm, polyhook2, start asmtk

* fix error LNK2019 and update version

* update version

* version

* NEW SHA

* revert fbgemm

* format

* v db

* new function

* v db

* update fbgemm version to 0.4.1 to fix asmjit

* v db

---------

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
2023-04-10 19:27:41 -07:00

14 lines
494 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d348072..d5b6be9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,7 +172,7 @@ if (NOT ASMTK_EMBED)
$<$<NOT:$<CONFIG:Debug>>:${ASMTK_PRIVATE_CFLAGS_REL}>)
if(ASMJIT_EXTERNAL)
- target_link_libraries(asmtk PUBLIC ${ASMJIT_LIBRARY})
+ target_link_libraries(asmtk PUBLIC asmjit::asmjit)
find_path(ASMJIT_INCLUDE_DIR NAMES asmjit/asmjit.h)
target_include_directories(asmtk PRIVATE ${ASMJIT_INCLUDE_DIR})
else()