Skip to content

Commit

Permalink
link dir
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 30, 2024
1 parent a460600 commit 615dfde
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,15 @@ else()
)
endif()

link_directories(${BABYLON_LIB_INSTALL_DIR})
target_link_directories(
babylon PUBLIC
${BABYLON_LIB_INSTALL_DIR}
)

if(WIN32)
target_link_libraries(
babylon
${BABYLON_LIB_INSTALL_DIR}/onnxruntime.lib
onnxruntime
)
elseif(APPLE)
target_link_libraries(
Expand Down

0 comments on commit 615dfde

Please sign in to comment.