Files
conan-build/recipes/libaom-av1/all/patches/0001-3.8.0-fix-install.patch
2024-12-25 17:47:28 +03:00

22 lines
620 B
Diff

--- build/cmake/aom_install.cmake
+++ build/cmake/aom_install.cmake
@@ -27,7 +27,7 @@
# Note: aom.pc generation uses GNUInstallDirs:
# https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
macro(setup_aom_install_targets)
- if(NOT XCODE)
+ if(1)
include("GNUInstallDirs")
set(AOM_PKG_CONFIG_FILE "${AOM_CONFIG_DIR}/aom.pc")
@@ -79,7 +79,8 @@
endif()
if(BUILD_SHARED_LIBS)
- set(AOM_INSTALL_LIBS aom aom_static)
+ set_target_properties(aom_static PROPERTIES OUTPUT_NAME aom_static)
+ set(AOM_INSTALL_LIBS aom)
else()
set(AOM_INSTALL_LIBS aom)
endif()