Skip to content

Commit

Permalink
Use portable way of linking libdl
Browse files Browse the repository at this point in the history
Not all systems need/have libdl, CMAKE_DL_LIBS handles this properly
  • Loading branch information
AMDmi3 committed Nov 7, 2017
1 parent d38438b commit c17850a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TARGET_LINK_LIBRARIES(client g3logger )
TARGET_LINK_LIBRARIES(client tinyxml2 )
TARGET_LINK_LIBRARIES(client pthread )
TARGET_LINK_LIBRARIES(client zip )
TARGET_LINK_LIBRARIES(client dl )
TARGET_LINK_LIBRARIES(client ${CMAKE_DL_LIBS})
TARGET_LINK_LIBRARIES(client common )
TARGET_LINK_LIBRARIES(client SDL2 )
TARGET_LINK_LIBRARIES(client SDL2_ttf )
Expand Down

0 comments on commit c17850a

Please sign in to comment.