Skip to content

Commit 45fcc35

Browse files
committed
chore(libheifactions)#: Add AOM pkgconfig to cmake file since it's the only way it can be built anyways
1 parent b86e26c commit 45fcc35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ project(libheif LANGUAGES C CXX VERSION 1.17.6)
77
# With v2.0.0, we can reset this to more closely follow the real version name, i.e. "2.0.0".
88
# CMake 3.17.0 added "MACHO_COMPATIBILITY_VERSION", but we are currently stuck at cmake 3.16.3.
99
set(MACOS_COMPATIBLE_VERSION "17.0.0")
10+
set(ENV{PKG_CONFIG_PATH} "${CMAKE_SOURCE_DIR}/third-party/aom/dist/lib/pkgconfig")
1011

1112
# https://cmake.org/cmake/help/v3.1/policy/CMP0054.html
1213
cmake_policy(VERSION 3.0...3.22)

0 commit comments

Comments
 (0)