mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-11 12:50:36 +01:00
23 lines
450 B
CMake
23 lines
450 B
CMake
|
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}"
|
||
|
)
|