Commit d69288a1 authored by Ghislain MARY's avatar Ghislain MARY

Fix build with CMake for Windows Phone.

parent cac93fb0
......@@ -33,7 +33,9 @@ include_directories(
file(GLOB SOURCE_FILES "*.h" "*.cpp")
set(LIBS ${MEDIASTREAMER2_LIBRARIES} ws2_32)
# TODO: For Windows Phone, link with phoneaudioses
if("${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsPhone")
list(APPEND LIBS phoneaudioses)
endif()
if(ENABLE_STATIC)
add_library(mswasapi STATIC ${SOURCE_FILES})
......
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