mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 16:20:27 +02:00
Add tinygltf library
This commit is contained in:
committed by
Josiah VanderZee
parent
124708784f
commit
36a90e9973
22
source/lib/tinygltf/CMakeLists.txt
Normal file
22
source/lib/tinygltf/CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(tinygltf
|
||||
VERSION 2.6.3
|
||||
DESCRIPTION "Header only C++11 tiny glTF 2.0 library"
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
add_library(tinygltf INTERFACE)
|
||||
add_library(tinygltf::tinygltf ALIAS tinygltf)
|
||||
|
||||
target_compile_definitions(tinygltf
|
||||
INTERFACE
|
||||
TINYGLTF_NO_EXTERNAL_IMAGE
|
||||
TINYGLTF_NO_STB_IMAGE
|
||||
TINYGLTF_NO_STB_IMAGE_WRITE
|
||||
)
|
||||
|
||||
target_include_directories(tinygltf
|
||||
INTERFACE
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
Reference in New Issue
Block a user