Remove glm

This commit is contained in:
2024-09-25 15:01:26 -04:00
parent 303d0c0a6f
commit 5101a856be
8 changed files with 31 additions and 10 deletions

View File

@ -3,7 +3,15 @@
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
add_subdirectory(glm)
include(FetchContent)
# add_subdirectory(glm)
FetchContent_Declare(
glm
GIT_REPOSITORY https://github.com/g-truc/glm.git
GIT_TAG bf71a834948186f4097caa076cd2663c69a10e1e
)
FetchContent_MakeAvailable(glm)
if(DAWN_TARGET STREQUAL "linux-x64-glfw")
add_subdirectory(glad)
@ -14,6 +22,11 @@ else()
message(FATAL_ERROR "Unknown target: ${DAWN_TARGET}")
endif()
# JSON
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.3/json.tar.xz)
FetchContent_MakeAvailable(json)
# if(DAWN_TARGET_OPENAL)
# set(LIBTYPE "STATIC")
# add_subdirectory(openal-soft)

Submodule lib/glm deleted from 45008b225e