OpenSceneGraph/examples/osgCMakeExampleModern/CMakeLists.txt
2018-11-16 12:42:40 -07:00

16 lines
429 B
CMake

cmake_minimum_required(VERSION 2.8.8)
SET(PROJECT_NAME osgCMakeExampleModern)
PROJECT(${PROJECT_NAME})
FIND_PACKAGE (OpenSceneGraph REQUIRED COMPONENTS osgUtil osgDB osgText osgGA osgFX osgSim osgViewer CONFIG)
SET(SOURCES
main.cpp
)
ADD_EXECUTABLE(${PROJECT_NAME} ${SOURCES})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} osg3::osg osg3::osgUtil osg3::osgDB osg3::osgText osg3::osgGA osg3::osgFX osg3::osgSim osg3::osgViewer)