Added the base math library to cmake. Crazy.
This commit is contained in:
parent
4eb4e00f58
commit
08c8b689ad
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue