mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-27 11:24:39 +01:00
12 lines
471 B
CMake
12 lines
471 B
CMake
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})
|
|
dolphin_disable_warnings(tinygltf)
|