Skip to content

Commit

Permalink
Injust -ldl flag differently
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnmp committed Oct 31, 2023
1 parent a3b4e24 commit ff760d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ FetchContent_Declare(LoguruGitRepo
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)
link_libraries(loguru::loguru -ldl)

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

0 comments on commit ff760d1

Please sign in to comment.