add openglexample from OpenHMD

This commit is contained in:
2018-09-18 20:18:47 +02:00
parent 21a2807143
commit a2d58a3d5f
6 changed files with 666 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
project (openglexample C)
find_package(OpenGL REQUIRED)
find_package(openhmd REQUIRED)
add_executable(openglexample gl.c gl.h main.c)
target_include_directories(openglexample PRIVATE ${OPENGL_INCLUDE_DIRS})
target_link_libraries(openglexample PRIVATE ${OPENGL_LIBRARIES})
target_link_libraries(openglexample PRIVATE m)
target_link_libraries(openglexample PRIVATE openhmd)
target_link_libraries(openglexample PRIVATE lvrc)