Skip to content

Commit c7516b8

Browse files
committed
Haiku got no -lrt and -ld
1 parent 8ffa294 commit c7516b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ if(UNIX)
544544
CHECK_INCLUDE_FILE(pthread.h HAVE_PTHREAD)
545545
if(ANDROID)
546546
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m log)
547-
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD")
547+
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD|Haiku")
548548
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
549549
elseif(EMSCRIPTEN)
550550
# no need to link to system libs with emscripten

0 commit comments

Comments
 (0)