Fixed cmake
This commit is contained in:
parent
c3b76c4d57
commit
ec8009ef86
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user