From d82d3901e4c48bb35ccf5281b51728a8470801e4 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sun, 3 Sep 2023 13:54:12 +0200 Subject: [PATCH] cmake: Remove remnants of AOM AV1 --- CMakeLists.txt | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fc919a16..1abc3ad8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2190,14 +2190,6 @@ if(STANDALONE) # OPTIONAL # ) # endif() - -# # Dependency: AOM -# if(HAVE_AOM AND AOM_BINARY AND D_PLATFORM_WINDOWS) -# install( -# FILES ${AOM_BINARY} -# DESTINATION "data/" COMPONENT StreamFX -# ) -# endif() # elseif(D_PLATFORM_LINUX) # install( # TARGETS ${PROJECT_NAME} @@ -2241,14 +2233,6 @@ if(STANDALONE) # OPTIONAL # ) # endif() - -# # Dependency: AOM -# if(HAVE_AOM AND AOM_BINARY) -# install( -# FILES "${AOM_BINARY}" -# DESTINATION "data/obs-plugins/${PROJECT_NAME}/" COMPONENT StreamFX -# ) -# endif() # elseif(D_PLATFORM_LINUX) # if(STRUCTURE_PACKAGEMANAGER) # install( @@ -2308,24 +2292,8 @@ else() if(COMMAND setup_plugin_target) setup_plugin_target(${PROJECT_NAME}) # Seems like we lost the ability to customize which directoy resources are in, and instead are forced to use '/data'. - - if(HAVE_AOM AND AOM_BINARY) # Dependency: AOM - add_target_resource(${PROJECT_NAME} "${AOM_BINARY}" "obs-plugins/${PROJECT_NAME}") - endif() elseif(COMMAND install_obs_plugin_with_data) install_obs_plugin_with_data(${PROJECT_NAME} data) - - if(HAVE_AOM AND AOM_BINARY) # Dependency: AOM - install( - FILES "${AOM_BINARY}" - DESTINATION "${OBS_DATA_DESTINATION}/obs-plugins/${PROJECT_NAME}" - ) - add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD - COMMAND "${CMAKE_COMMAND}" -E copy - "${AOM_BINARY}" - "${OBS_DATA_DESTINATION}/obs-plugins/${PROJECT_NAME}" - VERBATIM) - endif() endif() endif()