utfcpp: Add utf8cpp include dir (#2652)

pull/2653/head
Jérôme Leclercq 1 year ago committed by GitHub
parent 7f4e9ffdd0
commit 0881de8874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/u/utfcpp/xmake.lua

@ -1,5 +1,4 @@
package("utfcpp")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/nemtrif/utfcpp")
set_description("UTF8-CPP: UTF-8 with C++ in a Portable Way")
@ -15,6 +14,9 @@ package("utfcpp")
add_extsources("apt::libutfcpp-dev", "pacman::utf8cpp")
add_deps("cmake")
add_includedirs("include", "include/utf8cpp")
on_install(function (package)
local configs = {"-DUTF8_TESTS=OFF", "-DUTF8_INSTALL=ON", "-DUTF8_SAMPLES=OFF"}
import("package.tools.cmake").install(package, configs)

Loading…
Cancel
Save