summaryrefslogtreecommitdiff
path: root/src/resources/CMakeLists.txt
blob: 4d3ee2274a4be8a2159cc50d382ac2d47c964e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## Uncomment the following to fetch and build assimp.
#FetchContent_Declare(assimp
#  GIT_REPOSITORY https://github.com/assimp/assimp.git
#  GIT_TAG v5.3.1
#)
#FetchContent_MakeAvailable(assimp)

add_library(daw_resources
  src/resources.c
  src/textures.c
  src/model.c
  )

target_compile_options(daw_resources PUBLIC ${BUILD_OPTS})
target_include_directories(daw_resources PRIVATE ${DAW_INCLUDE_DIRS} stb)
target_link_libraries(daw_resources PRIVATE
  assimp
  cglm
  )