Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graph/CMakeLists.txt

14 lines
366 B
Text
Raw Normal View History

2018-09-26 17:51:22 -04:00
cmake_minimum_required(VERSION 3.1)
project(Graph)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
find_package(SDL2 REQUIRED)
2018-09-27 00:22:33 -04:00
find_package(Vulkan REQUIRED)
2018-09-26 17:51:22 -04:00
add_executable(Graph
main.cpp
renderer.cpp)
2018-09-27 00:22:33 -04:00
target_link_libraries(Graph PUBLIC SDL2::SDL2 SDL2::SDL2main ${Vulkan_LIBRARY})
target_include_directories(Graph PUBLIC ${Vulkan_INCLUDE_DIRS})