2021-01-17 14:36:38 -06:00
|
|
|
project(Couch)
|
|
|
|
|
2021-01-18 18:25:47 -06:00
|
|
|
|
|
|
|
## STB (image)
|
2021-01-17 14:36:38 -06:00
|
|
|
target_include_directories(couch
|
|
|
|
PUBLIC stb)
|
|
|
|
target_include_directories(couchlua
|
|
|
|
PUBLIC stb)
|
2021-01-18 18:25:47 -06:00
|
|
|
|
|
|
|
## ASSIMP
|
|
|
|
set(ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT FALSE CACHE BOOL "Turn off all assimp importers")
|
|
|
|
set(ASSIMP_BUILD_GLTF_IMPORTER ON CACHE BOOL "Turn on gltf importer")
|
|
|
|
add_subdirectory(assimp)
|
|
|
|
target_link_libraries(couch assimp::assimp)
|
|
|
|
target_link_libraries(couchlua assimp::assimp)
|