changed template to be project specific ig

This commit is contained in:
CJSatnarine
2025-02-15 00:29:59 -05:00
parent 30879d8ef8
commit 6ea22726b0
3 changed files with 6 additions and 9 deletions

View File

@@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.5.0)
project(opengl_project VERSION 0.1.0 LANGUAGES C CXX)
project(learn_shaders VERSION 0.1.0 LANGUAGES C CXX)
cmake_policy(SET CMP0072 NEW)
find_package(OpenGL REQUIRED)
add_executable(
opengl_project
learn_shaders
src/main.cpp
src/glad/glad.c
src/glad/glad.h
@@ -28,4 +28,4 @@ add_executable(
src/classes/Texture.cpp
)
target_link_libraries(opengl_project glfw OpenGL::GL)
target_link_libraries(learn_shaders glfw OpenGL::GL)