# Copyright (c) 2021 Dominic Msters # # This software is released under the MIT License. # https://opensource.org/licenses/MIT # GLFW if(DAWN_TARGET_GLFW) add_subdirectory(glad) add_subdirectory(glfw) endif() # SDL if(DAWN_TARGET_SDL2) add_subdirectory(glad) add_subdirectory(SDL) endif() # GLM add_subdirectory(glm) # STB add_library(stb INTERFACE) target_include_directories(stb INTERFACE stb) # FreeType add_subdirectory(freetype) # OpenAL if(DAWN_TARGET_OPENAL) set(LIBTYPE "STATIC") add_subdirectory(openal-soft) set(BUILD_TESTS OFF CACHE BOOL "Build tests" FORCE) set(BUILD_EXAMPLES OFF CACHE BOOL "Build examples" FORCE) add_subdirectory(AudioFile) endif()