projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffa294
)
Haiku got no -lrt and -ld
author
Zoltán Mizsei
<zmizsei@extrowerk.com>
Sat, 26 Aug 2017 09:35:13 +0000
(11:35 +0200)
committer
Zoltán Mizsei
<zmizsei@extrowerk.com>
Sat, 26 Aug 2017 09:35:13 +0000
(11:35 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
b1b3624
..
f2e28e5
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-544,7
+544,7
@@
if(UNIX)
CHECK_INCLUDE_FILE(pthread.h HAVE_PTHREAD)
if(ANDROID)
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m log)
- elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD")
+ elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD
|Haiku
")
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
elseif(EMSCRIPTEN)
# no need to link to system libs with emscripten