cmake_minimum_required(VERSION 3.20) project(TimeCoil) SET(PROJECT_SOURCES src/main.cpp src/glad.c) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR}/include ) add_executable(TimeCoil ${PROJECT_SOURCES}) find_package(glfw3 3.4 REQUIRED) find_package(OpenGL REQUIRED) target_link_libraries(TimeCoil glfw) target_link_libraries(TimeCoil OpenGL::GL)