cmake_minimum_required(VERSION 2.8) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../cmake/Modules) include(AddProject) project(opensg_oculus) set(OPENSG_MODULES OSGBase OSGSystem OSGWindow OSGWindowGLUT OSGDrawable OSGUtil OSGGroup OSGFileIO OSGImageFileIO) add_project(opensg_oculus SOURCES "src/opensg_ovr.cpp" CONFIGS "config/oculus.csm" INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src" OPENSG_MODULES ${OPENSG_MODULES} CSM_MODULE VRPN_MODULE )