# Copyright (c) 2021 Dominic Msters # # This software is released under the MIT License. # https://opensource.org/licenses/MIT include(FetchContent) # GLFW if(DAWN_TARGET_GLFW) FetchContent_Declare(glfw URL https://github.com/glfw/glfw/releases/download/3.4/glfw-3.4.zip) FetchContent_MakeAvailable(glfw) add_subdirectory(glad) endif() # GLM FetchContent_Declare( glm GIT_REPOSITORY https://github.com/g-truc/glm GIT_TAG 0af55ccecd98d4e5a8d1fad7de25ba429d60e863 ) FetchContent_MakeAvailable(glm) # FreeType FetchContent_Declare( freetype GIT_REPOSITORY https://gitlab.freedesktop.org/freetype/freetype GIT_TAG VER-2-13-3 ) FetchContent_MakeAvailable(freetype) #LibArchive FetchContent_Declare( libarchive GIT_REPOSITORY https://github.com/libarchive/libarchive GIT_TAG v3.7.6 ) FetchContent_MakeAvailable(libarchive) # JSON FetchContent_Declare( json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz ) FetchContent_MakeAvailable(json) # 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()