Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
Use libexecinfo on FreeBSD as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Feb 16, 2017
1 parent e85d851 commit 6b24b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvcore/CMakeLists.txt
Expand Up @@ -38,8 +38,8 @@ ENDIF(NVCORE_SHARED)

TARGET_LINK_LIBRARIES(nvcore ${LIBS})

# On NetBSD backtrace() is provided by libexecinfo, not libc.
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
# On NetBSD and FreeBSD backtrace() is provided by libexecinfo, not libc.
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
TARGET_LINK_LIBRARIES(nvcore execinfo)
endif()

Expand Down

0 comments on commit 6b24b1f

Please sign in to comment.