x265: update INSTALL_PREFIX

cmake defaults the install directory to /usr/local on UNIX.
- https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX.html

This results is the x265.pc file located in /usr/local/lib/pkgconfig
instead of /usr/lib/pkgconfig and not being found when pkg-config is
called.
This commit is contained in:
heitbaum 2021-07-11 00:23:39 +00:00
parent 87503cb36e
commit b28a019e09

View File

@ -14,5 +14,5 @@ PKG_TOOLCHAIN="make"
pre_configure_target() {
LDFLAGS+=" -ldl"
cmake -G "Unix Makefiles" ./source
cmake -DCMAKE_INSTALL_PREFIX=/usr -G "Unix Makefiles" ./source
}