Skip to content

Commit

Permalink
Removing libdl dependecy
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberium committed Mar 5, 2024
1 parent f12f9f4 commit dce7320
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,6 @@ target_include_directories(${LIBRARY_NAME}
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
)

if(UNIX)
# Both systems don't have libdl and don't need them
if (NOT (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD"))
target_link_libraries(${LIBRARY_NAME} dl)
endif()
endif()

# Install config files
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/playerbot/aiplayerbot.conf.dist.in ${CMAKE_CURRENT_BINARY_DIR}/aiplayerbot.conf.dist)
if (NOT CONF_INSTALL_DIR)
Expand Down

0 comments on commit dce7320

Please sign in to comment.