Add extra required libraries for Windows, prepend the list with webrtc

This commit is contained in:
Axel Isouard 2017-02-06 19:32:18 +01:00
parent b334e9098a
commit 7e7fa0d7d4
No known key found for this signature in database
GPG key ID: 4E64BB3EAAF31C29

View file

@ -8,7 +8,7 @@ find_package(PythonInterp REQUIRED)
set(THREADS_PREFER_PTHREAD_FLAG ON) set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED) find_package(Threads REQUIRED)
list(APPEND LIBWEBRTC_LIBRARIES Threads::Threads) list(APPEND LIBWEBRTC_LIBRARIES webrtc Threads::Threads)
if (UNIX AND NOT APPLE) if (UNIX AND NOT APPLE)
find_package(X11 REQUIRED) find_package(X11 REQUIRED)
@ -28,5 +28,5 @@ endif (APPLE)
if (WIN32) if (WIN32)
list(APPEND LIBWEBRTC_LIBRARIES msdmo.lib wmcodecdspuuid.lib dmoguids.lib list(APPEND LIBWEBRTC_LIBRARIES msdmo.lib wmcodecdspuuid.lib dmoguids.lib
ole32.lib secur32.lib) ole32.lib secur32.lib winmm.lib ws2_32.lib)
endif (WIN32) endif (WIN32)