Added the base math library to cmake. Crazy.

This commit is contained in:
Warwick New 2024-12-30 16:13:35 +00:00
parent 4eb4e00f58
commit 08c8b689ad

View file

@ -14,6 +14,7 @@ find_package(Vulkan REQUIRED)
find_package(glfw3 REQUIRED) find_package(glfw3 REQUIRED)
set(GLFW_LIBRARIES glfw) set(GLFW_LIBRARIES glfw)
find_package(glm REQUIRED) find_package(glm REQUIRED)
#find_package(m REQUIRED)
# Include dirs # Include dirs
include_directories( include_directories(
@ -34,6 +35,9 @@ target_link_libraries(${PROJECT_NAME}
${GLFW_LIBRARIES} ${GLFW_LIBRARIES}
${Vulkan_LIBRARIES} ${Vulkan_LIBRARIES}
${GLM_LIBRARY_DIRS} ${GLM_LIBRARY_DIRS}
${CMAKE_DL_LIBS}
#${M_LIBRARIES}
m
) )
# Compile Shaders # Compile Shaders