|
@@ -22,7 +22,8 @@ package("tinygltf")
|
|
|
on_install(function (package)
|
|
|
local configs = {
|
|
|
"-DTINYGLTF_BUILD_LOADER_EXAMPLE=OFF",
|
|
|
- "-DTINYGLTF_HEADER_ONLY=ON"
|
|
|
+ "-DTINYGLTF_HEADER_ONLY=ON",
|
|
|
+ "-DTINYGLTF_INSTALL_VENDOR=OFF",
|
|
|
}
|
|
|
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"))
|