Minor fixes to include paths and CMakeLists

Removed draw call from model constructor with filename
This commit is contained in:
trotFunky 2019-10-06 20:12:53 +02:00
parent 6dc94de9f8
commit 236fd2b8d6
3 changed files with 15 additions and 3 deletions

View file

@ -11,7 +11,20 @@ if(NOT ${OPENGL_GLU_FOUND})
endif()
add_executable(tests_opengl
src/main.cpp src/displayers.h src/displayers.cpp src/DataHandling/Texture.cpp src/DataHandling/Texture.h src/DataHandling/Model3D.cpp src/DataHandling/Model3D.h src/types.h)
src/main.cpp
src/displayers.h
src/displayers.cpp
src/DataHandling/Texture.cpp
src/DataHandling/Texture.h
src/DataHandling/Model3D.cpp
src/DataHandling/Model3D.h
src/types.h)
target_link_directories(tests_opengl PRIVATE
src)
target_include_directories(tests_opengl PRIVATE
src)
target_link_libraries(tests_opengl
${OPENGL_LIBRARIES}