mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
9 lines
275 B
CMake
9 lines
275 B
CMake
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
find_library(LIBDL NAMES dl)
|
|
list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBDL})
|
|
endif()
|
|
|
|
if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
|
find_library(LIBPTHREAD NAMES libpthread.a)
|
|
list(APPEND DEFAULT_OS_SYSTEM_LIBS ${LIBPTHREAD})
|
|
endif() |