x265: fix cross compiled builds

use ${CMAKE} not cmake to build so as to use CMAKE_TOOLCHAIN_FILE
and target the correct TARGET architecture.
This commit is contained in:
Rudi Heitbaum 2024-07-15 12:59:05 +00:00
parent dc6af0f805
commit 27c85c69f6

View File

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