forked from vancegroup-mirrors/osgBullet-mirror
-
Notifications
You must be signed in to change notification settings - Fork 1
/
UseosgBullet.cmake.in
25 lines (20 loc) · 999 Bytes
/
UseosgBullet.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# This module is provided as osgBullet_USE_FILE by osgBulletConfig.cmake. It can
# be INCLUDEd in a project to load the needed compiler and linker
# settings to use osgBullet.
#
IF(NOT osgBullet_USE_FILE_INCLUDED)
SET(osgBullet_USE_FILE_INCLUDED 1)
# Update CMAKE_MODULE_PATH so includes work.
#SET (CMAKE_MODULE_PATH
# ${CMAKE_MODULE_PATH}
# ${VTK_CMAKE_DIR})
# Add compiler flags needed to use osgWorks.
#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VTK_REQUIRED_C_FLAGS}")
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VTK_REQUIRED_CXX_FLAGS}")
#SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${VTK_REQUIRED_EXE_LINKER_FLAGS}")
#SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${VTK_REQUIRED_SHARED_LINKER_FLAGS}")
#SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${VTK_REQUIRED_MODULE_LINKER_FLAGS}")
# Add include directories needed to use osgBullet.
INCLUDE_DIRECTORIES(${OSGBULLET_INCLUDE_DIRS})
ENDIF(NOT osgBullet_USE_FILE_INCLUDED)