Skip to content

Commit

Permalink
Turn gain maps on in ci-unix-shared-installed.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Nov 28, 2024
1 parent 03738d5 commit e09ad1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-unix-shared-installed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
-DAVIF_BUILD_TESTS=ON -DAVIF_ENABLE_GTEST=ON -DAVIF_GTEST=SYSTEM
-DAVIF_BUILD_GDK_PIXBUF=ON -DCMAKE_INSTALL_PREFIX=./build/install
-DAVIF_ENABLE_WERROR=ON ${{ env.CMAKE_AVIF_FLAGS }}
-DAVIF_ENABLE_EXPERIMENTAL_GAIN_MAP=ON
- name: Build libavif (ninja)
working-directory: ./build
run: ninja
Expand Down
3 changes: 3 additions & 0 deletions cmake/Modules/LocalLibargparse.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ else()
message(CHECK_START "libavif(AVIF_LOCAL_LIBARGPARSE): fetching and configuring libargparse")
endif()


FetchContent_Declare(
libargparse
GIT_REPOSITORY "https://github.com/kmurray/libargparse.git"
GIT_TAG ${AVIF_LOCAL_LIBARGPARSE_GIT_TAG}
# TODO(vrabaud) remove once CMake 3.13 is not supported anymore.
PATCH_COMMAND sed -i.bak -e "s:install.*:include(GNUInstallDirs) \\\\ninstall(TARGETS libargparse RUNTIME DESTINATION \\\\$\\\\{CMAKE_INSTALL_BINDIR\\\\} LIBRARY DESTINATION \\\\$\\\\{CMAKE_INSTALL_LIBDIR\\\\} ARCHIVE DESTINATION \\\\$\\\\{CMAKE_INSTALL_LIBDIR\\\\} PUBLIC_HEADER DESTINATION \\\\$\\\\{CMAKE_INSTALL_INCLUDEDIR\\\\}):" CMakeLists.txt
UPDATE_COMMAND ""
)
avif_fetchcontent_populate_cmake(libargparse)
Expand Down

0 comments on commit e09ad1d

Please sign in to comment.