Skip to content

Commit

Permalink
fix: configure CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
giladgd committed Sep 9, 2023
1 parent 2e278db commit 04a91d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llama/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ include_directories(${NODE_ADDON_API_DIR} ${CMAKE_JS_INC})

add_subdirectory("llama.cpp")
include_directories("llama.cpp")
set_target_properties("llama" PROPERTIES POSITION_INDEPENDENT_CODE ON)
include_directories("./llama.cpp/common")
set_target_properties("common" PROPERTIES POSITION_INDEPENDENT_CODE ON)

file(GLOB SOURCE_FILES "addon.cpp")

Expand Down

0 comments on commit 04a91d7

Please sign in to comment.