From 08c8b689adac66db0af35f678bbd3301887858b9 Mon Sep 17 00:00:00 2001 From: Warwick New Date: Mon, 30 Dec 2024 16:13:35 +0000 Subject: [PATCH] Added the base math library to cmake. Crazy. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f657fc6..86f06d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Vulkan REQUIRED) find_package(glfw3 REQUIRED) set(GLFW_LIBRARIES glfw) find_package(glm REQUIRED) +#find_package(m REQUIRED) # Include dirs include_directories( @@ -34,6 +35,9 @@ target_link_libraries(${PROJECT_NAME} ${GLFW_LIBRARIES} ${Vulkan_LIBRARIES} ${GLM_LIBRARY_DIRS} + ${CMAKE_DL_LIBS} + #${M_LIBRARIES} + m ) # Compile Shaders