jellyfin-media-player/CMakeModules/CompleteBundle.cmake
Vincent Lang c527875ca2 Use new ANGLE deps on Windows
Also add this to the release notes.

This will use a new hardware decoding path. This is known to cause
corruption with buggy AMD drivers. Updating to newer drivers should fix
this. The problem happens only with direct hardware decoding mode.
2017-07-13 13:37:11 +02:00

24 lines
500 B
CMake

if(APPLE)
set(SCRIPT CompleteBundleOSX)
elseif(WIN32)
set(SCRIPT CompleteBundleWin)
endif(APPLE)
option(CODE_SIGN "code sign the app" OFF)
if(CODE_SIGN)
set(DO_SIGN 1)
else(CODE_SIGN)
set(DO_SIGN 0)
endif(CODE_SIGN)
if(ENABLE_ANGLE_DEP)
set(DO_ENABLE_ANGLE_DEP 1)
else()
set(DO_ENABLE_ANGLE_DEP 0)
endif()
if(SCRIPT)
configure_file(${CMAKE_SOURCE_DIR}/CMakeModules/${SCRIPT}.cmake.in ${SCRIPT}.cmake @ONLY)
install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/${SCRIPT}.cmake)
endif(SCRIPT)