Merge pull request #2085 from severin-lemaignan:emscripten

pull/2091/merge
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit 5f9c117d78
  1. 2
      CMakeLists.txt

@ -384,6 +384,8 @@ if(UNIX)
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m log)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly")
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
elseif(EMSCRIPTEN)
# no need to link to system libs with emscripten
else()
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m pthread rt)
endif()

Loading…
Cancel
Save