2024-02-04 23:10:07 +00:00
|
|
|
add_library(tinygltf STATIC)
|
|
|
|
target_compile_definitions(tinygltf PUBLIC TINYGLTF_NOEXCEPTION)
|
|
|
|
target_compile_definitions(tinygltf PUBLIC TINYGLTF_NO_EXTERNAL_IMAGE)
|
|
|
|
target_compile_definitions(tinygltf PUBLIC TINYGLTF_USE_CPP14)
|
|
|
|
if (NOT MSVC)
|
|
|
|
target_compile_features(tinygltf PRIVATE cxx_std_20)
|
|
|
|
endif()
|
|
|
|
target_sources(tinygltf PRIVATE
|
|
|
|
tinygltf/tiny_gltf.cc)
|
|
|
|
target_include_directories(tinygltf INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
2024-03-19 06:08:54 +00:00
|
|
|
dolphin_disable_warnings(tinygltf)
|