Skip to content

Commit

Permalink
Build: Link dl on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 committed Sep 11, 2013
1 parent 64833ce commit 0724e05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,8 @@ target_link_libraries(jd
${ZLIB_LIBRARY}
${Boost_LIBRARIES})

if (CMAKE_SYSTEM_NAME MATCHES "Linux")
target_link_libraries(jd dl)
endif()

install(TARGETS jd RUNTIME DESTINATION bin)

0 comments on commit 0724e05

Please sign in to comment.