Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
luadebug committed Jan 9, 2025
1 parent c7901a9 commit 8978723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/libmem/0001-CMakeLists.patch
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ index 534057a..9544bda 100644
-endif()
-target_include_directories(libmem PRIVATE "${LIBMEM_DIR}/src" "${INTERNAL_DIR}" "${COMMON_DIR}")
+add_library(libmem ${LIBMEM_SRC} ${LLVM_DEM_SRC})
+target_include_directories(libmem PRIVATE "${LIBMEM_DIR}/src" "${INTERNAL_DIR}" "${COMMON_DIR}" INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>" "$<INSTALL_INTERFACE:include>")
+target_include_directories(libmem PRIVATE "${LIBMEM_DIR}/src" "${INTERNAL_DIR}" "${COMMON_DIR}" PUBLIC "$<INSTALL_INTERFACE:include>")

include_directories(${PROJECT_SOURCE_DIR}
${LIBMEM_INC}
Expand Down
2 changes: 1 addition & 1 deletion ports/libmem/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Advanced Game Hacking Library for C, Modern C++, Rust and Python (Windows/Linux/FreeBSD) (Process/Memory Hacking) (Hooking/Detouring) (Cross Platform) (x86/x64/ARM/ARM64) (DLL/SO Injection) (Internal/External) (Assembler/Disassembler)",
"homepage": "https://github.com/rdbo/libmem",
"license": "AGPL-3.0-only",
"supports": "windows | ((linux | freebsd) & (x86 | x64))",
"supports": "!xbox | windows | ((linux | freebsd) & (x86 | x64))",
"dependencies": [
"capstone",
"keystone",
Expand Down

0 comments on commit 8978723

Please sign in to comment.