summaryrefslogtreecommitdiff
path: root/src/resources/CMakeLists.txt
blob: 9934cc1406bebb5e5c054b0d22280663a9e47c68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## 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/fonts.c
  src/scripts.c
  src/textures.c
  src/model.c
  )

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