Skip to content

Commit

Permalink
Land #1108 - Fix CMake build for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
botovq committed Oct 15, 2024
2 parents 3f90032 + 91658ff commit d8350cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
set(PLATFORM_LIBS ${PLATFORM_LIBS} pthread)
endif()

if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(PLATFORM_LIBS ${PLATFORM_LIBS} pthread)
endif()

if(WIN32)
set(BUILD_NC false)
if(MINGW)
Expand Down

0 comments on commit d8350cf

Please sign in to comment.