You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
260 B
9 lines
260 B
2 years ago
|
cmake_minimum_required(VERSION 3.13)
|
||
|
project(OpenGL_template)
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 20)
|
||
|
include_directories(include)
|
||
|
add_compile_options(-lglfw3 -lGL -lX11 -lpthread -lXrandr -lXi -ldl)
|
||
|
|
||
|
add_executable(app main.cpp src/glad.c)
|
||
|
target_link_libraries(app glfw)
|