Commit 1e6d4d2e authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Link against libmingwex when compiling for Windows with CMake.

parent 1757cfdd
if(MSVC)
find_library(LIBGCC NAMES gcc)
find_library(LIBMINGWEX NAMES mingwex)
endif()
find_library(LIBSRTP NAMES srtp)
find_library(LIBORTP NAMES ortp)
......@@ -123,6 +124,7 @@ if(WIN32)
endif(WIN32)
list(APPEND BASE_LIBS
${LIBGCC}
${LIBMINGWEX}
${LIBSRTP}
${LIBORTP}
)
......@@ -323,6 +325,7 @@ if(WIN32)
endif(WIN32)
list(APPEND VOIP_LIBS
${LIBGCC}
${LIBMINGWEX}
${LIBSRTP}
${LIBORTP}
mediastreamer_base
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment