Fix libyuv build error

This commit is contained in:
dijunkun
2024-05-24 15:03:30 +08:00
parent 3fc8f9f616
commit a20927ec6c

View File

@@ -12,7 +12,7 @@ package("libyuv")
local configs = {"-DTEST=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
io.replace("CMakeLists.txt", "INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )", "", {plain = true})
io.replace("CMakeLists.txt", "INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert DESTINATION bin )", "", {plain = true})
import("package.tools.cmake").install(package, configs)
if package:is_plat("macosx", "linux", "android") then