musikcube/.cmake/AddLinuxSystemLibs.cmake

6 lines
126 B
CMake
Raw Normal View History

2022-02-08 21:31:58 +00:00
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
find_library(LIBDL NAMES dl)
list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBDL})
endif()