mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Merge pull request #4017 from bentley/openbsd-libs
OpenBSD neither provides nor requires libdl and librt.
This commit is contained in:
commit
4b9173ca62
@ -424,7 +424,7 @@ if(ANDROID)
|
|||||||
# We are cross compiling, search only the toolchain for libraries and includes
|
# We are cross compiling, search only the toolchain for libraries and includes
|
||||||
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||||
elseif(NOT APPLE)
|
elseif(NOT APPLE AND NOT CMAKE_SYSTEM_NAME MATCHES OpenBSD)
|
||||||
list(APPEND LIBS rt)
|
list(APPEND LIBS rt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ elseif(USE_X11)
|
|||||||
set(LIBS ${LIBS} ${XRANDR_LIBRARIES})
|
set(LIBS ${LIBS} ${XRANDR_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD)
|
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||||
set(LIBS ${LIBS} dl)
|
set(LIBS ${LIBS} dl)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ endif()
|
|||||||
|
|
||||||
set(WXLIBS ${wxWidgets_LIBRARIES})
|
set(WXLIBS ${wxWidgets_LIBRARIES})
|
||||||
|
|
||||||
if(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD)
|
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||||
set(WXLIBS ${WXLIBS} dl)
|
set(WXLIBS ${WXLIBS} dl)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user