Dawn/lib/CMakeLists.txt
2024-09-08 15:30:41 -05:00

23 lines
615 B
CMake

# Copyright (c) 2021 Dominic Msters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
add_subdirectory(glm)
if(DAWN_TARGET STREQUAL "linux-x64-glfw")
add_subdirectory(glad)
add_subdirectory(glfw)
add_subdirectory(libarchive)
else()
message(FATAL_ERROR "Unknown target: ${DAWN_TARGET}")
endif()
# 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()