Skip to content

Commit

Permalink
Add dl to libraries on Linux with CMake.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrprice committed Feb 23, 2015
1 parent 7eb81fc commit 1c03463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")

if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
list(APPEND CORE_EXTRA_LIBS "pthread")
list(APPEND CORE_EXTRA_LIBS "dl")
endif()
endif()

Expand Down

0 comments on commit 1c03463

Please sign in to comment.