OpenGL-JIN/example/CMakeLists.txt
Teo-CD 9a52587149 Refactored project structure
- Test project is now separated from engine code
 - Engine code can now initialize OpenGL and GLUT correctly
 - Moved vectors and quaternions to a Math subdirectory

Fixed reorder warning
2019-11-02 16:25:02 +01:00

19 lines
No EOL
468 B
CMake

add_executable(tests_opengl
main.cpp
displayers.h
displayers.cpp)
target_link_directories(tests_opengl PRIVATE
${PROJECT_SOURCE_DIR}/src)
target_include_directories(tests_opengl PRIVATE
${PROJECT_SOURCE_DIR}/src)
target_link_libraries(tests_opengl
${OPENGL_LIBRARIES}
${GLUT_LIBRARIES}
engine)
target_include_directories(tests_opengl PRIVATE
${OPENGL_INCLUDE_DIR}
${GLUT_INCLUDE_DIR})