Skip to content

Commit

Permalink
Add -ldl flag
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnmp committed Oct 31, 2023
1 parent bfc17b5 commit a3b4e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ set(LOGURU_WITH_STREAMS TRUE)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
FetchContent_MakeAvailable(LoguruGitRepo) # defines target 'loguru::loguru'
link_libraries(loguru::loguru)
link_libraries(-ldl)

find_package(Threads REQUIRED)
find_package(OpenCV REQUIRED)
Expand Down

0 comments on commit a3b4e24

Please sign in to comment.