Skip to content

Commit

Permalink
Fix link error
Browse files Browse the repository at this point in the history
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
  • Loading branch information
JinHai-CN committed Mar 10, 2025
1 parent 44e4993 commit 45ed50e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ target_link_libraries(infinity
re2.a
pcre2-8-static
rocksdb.a
uring.a
)
target_link_directories(infinity PUBLIC "${CMAKE_BINARY_DIR}/lib")
target_link_directories(infinity PUBLIC "${CMAKE_BINARY_DIR}/third_party/oatpp/src/")
Expand Down Expand Up @@ -592,6 +593,7 @@ target_link_libraries(unit_test
ssl.a
crypto.a
rocksdb.a
uring.a
)

target_link_directories(unit_test PUBLIC "${CMAKE_BINARY_DIR}/lib")
Expand Down

0 comments on commit 45ed50e

Please sign in to comment.