replace math_graphics with glm version 1.0.3
This commit is contained in:
+5
-1
@@ -8,6 +8,10 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
option(TRACY_ENABLE "Enable Tracy profiling" OFF)
|
||||
|
||||
# glm
|
||||
add_subdirectory(libs/glm)
|
||||
target_compile_definitions(glm PUBLIC GLM_FORCE_SWIZZLE GLM_FORCE_XYZW_ONLY)
|
||||
|
||||
# SDL
|
||||
set(SDL_SHARED OFF)
|
||||
set(SDL_STATIC ON)
|
||||
@@ -62,13 +66,13 @@ add_subdirectory(libs/tracy)
|
||||
add_executable(mikemon
|
||||
src/log.cpp
|
||||
src/smol-atlas.cpp
|
||||
src/math_graphics.cpp
|
||||
src/change_directory.c
|
||||
src/shaders/shaders.c
|
||||
src/main.cpp
|
||||
)
|
||||
target_link_libraries(mikemon
|
||||
PRIVATE
|
||||
glm
|
||||
SDL3::SDL3
|
||||
SDL3_mixer::SDL3_mixer
|
||||
stb_image
|
||||
|
||||
Reference in New Issue
Block a user