Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Feb 18, 2025
1 parent 6426c38 commit b00279f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ if(OCOS_BUILD_SHARED_LIB)
list(APPEND shared_TARGET_SRC "shared/ortcustomops.def")
endif()
add_library(extensions_shared SHARED ${shared_TARGET_SRC})

target_link_libraries(extensions_shared PUBLIC dlib::dlib)
# We need to propagate OCOS_SHARED_LIBRARY if set.
# could specifically add that if using OCOS_COMPILE_DEFINITIONS is too much.
target_compile_definitions(extensions_shared PRIVATE ${OCOS_COMPILE_DEFINITIONS})
Expand Down
2 changes: 1 addition & 1 deletion cmake/externals/dlib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FetchContent_Declare(
URL_HASH SHA1=59b1fb4e9909697c646e4f74e94871dacf49f0bf
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
SOURCE_SUBDIR not_set
FIND_PACKAGE_ARGS NAMES dlib
FIND_PACKAGE_ARGS NAMES dlib
)

FetchContent_MakeAvailable(dlib)

0 comments on commit b00279f

Please sign in to comment.