Commit dc66b1d5 authored by Ghislain MARY's avatar Ghislain MARY

Treat compilation warnings as errors when building the Python module.

parent 8ae96c1a
......@@ -124,6 +124,9 @@ if(APPLE)
endif()
add_library(pylinphone MODULE "${SOURCE_FILENAME}")
if(UNIX)
target_compile_options(pylinphone PRIVATE "-Werror")
endif()
if(ENABLE_OPENH264)
find_library(MSOPENH264_LIBRARY msopenh264 HINTS "${CMAKE_INSTALL_PREFIX}/lib/mediastreamer/plugins")
find_library(OPENH264_LIBRARY openh264)
......
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