Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
luadebug committed Jan 9, 2025
1 parent e068121 commit 124dcb8
Showing 1 changed file with 1 addition and 1 deletion.
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}" "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>" "$<INSTALL_INTERFACE:include>")
+target_include_directories(libmem PRIVATE "${LIBMEM_DIR}/src" "${INTERNAL_DIR}" "${COMMON_DIR}" INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>" "$<INSTALL_INTERFACE:include>")

include_directories(${PROJECT_SOURCE_DIR}
${LIBMEM_INC}
Expand Down

0 comments on commit 124dcb8

Please sign in to comment.