Moved over to cglm as we don't use C++
This commit is contained in:
parent
2c6c2b2592
commit
a769169aa6
1 changed files with 6 additions and 3 deletions
|
|
@ -9,18 +9,21 @@ project(new-engine
|
||||||
set(CMAKE_C_STANDARD 17)
|
set(CMAKE_C_STANDARD 17)
|
||||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
|
# Build Dependancies
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
|
||||||
# Dependancies
|
# Dependancies
|
||||||
find_package(Vulkan REQUIRED)
|
find_package(Vulkan REQUIRED)
|
||||||
find_package(glfw3 REQUIRED)
|
find_package(glfw3 REQUIRED)
|
||||||
set(GLFW_LIBRARIES glfw)
|
set(GLFW_LIBRARIES glfw)
|
||||||
find_package(glm REQUIRED)
|
pkg_check_modules(CGLM REQUIRED cglm)
|
||||||
#find_package(m REQUIRED)
|
#find_package(m REQUIRED)
|
||||||
|
|
||||||
# Include dirs
|
# Include dirs
|
||||||
include_directories(
|
include_directories(
|
||||||
${Vulkan_INCLUDE_DIRS}
|
${Vulkan_INCLUDE_DIRS}
|
||||||
${GLFW_INCLUDE_DIRS}
|
${GLFW_INCLUDE_DIRS}
|
||||||
${GLM_INCLUDE_DIRS}
|
${CGLM_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Executables
|
# Executables
|
||||||
|
|
@ -45,7 +48,7 @@ endif()
|
||||||
target_link_libraries(${PROJECT_NAME}
|
target_link_libraries(${PROJECT_NAME}
|
||||||
${GLFW_LIBRARIES}
|
${GLFW_LIBRARIES}
|
||||||
${Vulkan_LIBRARIES}
|
${Vulkan_LIBRARIES}
|
||||||
${GLM_LIBRARY_DIRS}
|
${CGLM_LIBRARIES}
|
||||||
${CMAKE_DL_LIBS}
|
${CMAKE_DL_LIBS}
|
||||||
#${M_LIBRARIES}
|
#${M_LIBRARIES}
|
||||||
m
|
m
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue