Skip to content

Commit

Permalink
use c++14
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Jul 14, 2024
1 parent c4a5ea4 commit 628abf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/l/libyuv/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ package("libyuv")
end)

on_install(function (package)
local configs = {"-DCMAKE_CXX_STANDARD=11"}
local configs = {"-DCMAKE_CXX_STANDARD=14"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DLIBYUV_WITH_JPEG=" .. (package:config("jpeg") and "ON" or "OFF"))
Expand Down

0 comments on commit 628abf2

Please sign in to comment.