2021-01-17 14:36:38 -06:00
|
|
|
project(Couch)
|
|
|
|
|
2021-01-18 18:25:47 -06:00
|
|
|
## STB (image)
|
2021-01-26 16:42:28 -06:00
|
|
|
target_include_directories(couchlib
|
2021-01-17 14:36:38 -06:00
|
|
|
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")
|
2021-01-22 18:44:43 -06:00
|
|
|
set(ASSIMP_BUILD_OBJ_IMPORTER ON CACHE BOOL "Turn on wavefront importer")
|
2021-01-18 18:25:47 -06:00
|
|
|
add_subdirectory(assimp)
|
2021-01-26 16:42:28 -06:00
|
|
|
target_link_libraries(couchlib assimp::assimp)
|
|
|
|
|