mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Fix CMake script for NetBSD.
This commit is contained in:
@@ -457,7 +457,10 @@ endif()
|
|||||||
set(COMMON_LINK_LIBRARIES)
|
set(COMMON_LINK_LIBRARIES)
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
|
if(NOT CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
||||||
list(APPEND COMMON_LINK_LIBRARIES dl) # For dlopen(), etc. Most compilers will link to this by default, but some may not.
|
list(APPEND COMMON_LINK_LIBRARIES dl) # For dlopen(), etc. Most compilers will link to this by default, but some may not.
|
||||||
|
endif()
|
||||||
|
|
||||||
list(APPEND COMMON_LINK_LIBRARIES pthread) # Some compilers will not link to pthread by default so list it here just in case.
|
list(APPEND COMMON_LINK_LIBRARIES pthread) # Some compilers will not link to pthread by default so list it here just in case.
|
||||||
list(APPEND COMMON_LINK_LIBRARIES m)
|
list(APPEND COMMON_LINK_LIBRARIES m)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user