musikcube/.cmake/AddLinuxSystemLibs.cmake
2022-02-10 10:31:14 -08:00

6 lines
126 B
CMake

if (CMAKE_SYSTEM_NAME MATCHES "Linux")
find_library(LIBDL NAMES dl)
list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBDL})
endif()