Commit f5868258 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Always use Release build type for openh264.

parent ee2f6445
......@@ -36,11 +36,7 @@ set(EP_openh264_GIT_TAG "fb5700bd5cc18dd33c120ce9dd5f79b8f1f35f3a")
set(EP_openh264_BUILD_METHOD "custom")
set(EP_openh264_BUILD_IN_SOURCE "yes")
set(EP_openh264_LINKING_TYPE "-shared")
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
set(EP_openh264_BUILD_TYPE "Release")
else()
set(EP_openh264_BUILD_TYPE "Debug")
endif()
set(EP_openh264_BUILD_TYPE "Release") # Always use Release build type, otherwise the codec is too slow...
set(EP_openh264_CONFIGURE_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_openh264_configure.sh)
set(EP_openh264_BUILD_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_openh264_build.sh)
set(EP_openh264_INSTALL_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_openh264_install.sh)
......
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