Fixed cmake

This commit is contained in:
NaifBanana 2024-10-20 03:41:07 -05:00
parent c3b76c4d57
commit ec8009ef86

View File

@ -17,7 +17,7 @@ link_directories(../libs/glfw-3.3.9/build/src ../libs/NBEngine/lib)
add_library(NBDrawing Draw.cpp Shader.cpp) add_library(NBDrawing Draw.cpp Shader.cpp)
add_executable(GraphicsTest main.cpp funcs.cpp Shader.cpp Draw.cpp ../libs/glad/src/glad.c) add_executable(GraphicsTest main.cpp funcs.cpp grid.cpp ../libs/glad/src/glad.c)
target_link_libraries(GraphicsTest glfw3 NBWindows NBDrawing) target_link_libraries(GraphicsTest glfw3 NBWindows NBDrawing)
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)