Initial support for glTF models
This commit is contained in:
Vendored
+2
@@ -5,3 +5,5 @@ endif()
|
||||
if (NOT SYSTEM_UDNS)
|
||||
add_subdirectory(udns)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tiny_gltf)
|
||||
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
add_library(FGTinyGLTF INTERFACE)
|
||||
|
||||
target_include_directories(FGTinyGLTF
|
||||
INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
|
||||
set_target_properties(FGTinyGLTF PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
||||
# in the non-shared case, we need to export these as well
|
||||
if (NOT SIMGEAR_SHARED)
|
||||
install(TARGETS FGTinyGLTF
|
||||
EXPORT SimGearTargets
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
endif()
|
||||
Vendored
+20406
File diff suppressed because it is too large
Load Diff
Vendored
+7760
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user