OpenBSD neither provides nor requires libdl and librt.

This commit is contained in:
Anthony J. Bentley
2016-07-17 03:54:31 -06:00
parent 92594e08d4
commit eb4cae78aa
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ endif()
set(WXLIBS ${wxWidgets_LIBRARIES})
if(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(WXLIBS ${WXLIBS} dl)
endif()