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_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Build Dependancies
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
# Dependancies
|
||||
find_package(Vulkan REQUIRED)
|
||||
find_package(glfw3 REQUIRED)
|
||||
set(GLFW_LIBRARIES glfw)
|
||||
find_package(glm REQUIRED)
|
||||
pkg_check_modules(CGLM REQUIRED cglm)
|
||||
#find_package(m REQUIRED)
|
||||
|
||||
# Include dirs
|
||||
include_directories(
|
||||
${Vulkan_INCLUDE_DIRS}
|
||||
${GLFW_INCLUDE_DIRS}
|
||||
${GLM_INCLUDE_DIRS}
|
||||
${CGLM_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
# Executables
|
||||
|
|
@ -45,7 +48,7 @@ endif()
|
|||
target_link_libraries(${PROJECT_NAME}
|
||||
${GLFW_LIBRARIES}
|
||||
${Vulkan_LIBRARIES}
|
||||
${GLM_LIBRARY_DIRS}
|
||||
${CGLM_LIBRARIES}
|
||||
${CMAKE_DL_LIBS}
|
||||
#${M_LIBRARIES}
|
||||
m
|
||||
|
|
|
|||
Loading…
Reference in a new issue