-
Notifications
You must be signed in to change notification settings - Fork 19
/
UseosgAudio.cmake.in
25 lines (20 loc) · 991 Bytes
/
UseosgAudio.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 osgWorks_USE_FILE by osgWorksConfig.cmake. It can
# be INCLUDEd in a project to load the needed compiler and linker
# settings to use osgWorks.
#
IF(NOT osgAudio_USE_FILE_INCLUDED)
SET(osgAudio_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 osgWorks.
INCLUDE_DIRECTORIES(${OSGAUDIO_INCLUDE_DIRS})
ENDIF(NOT osgAudio_USE_FILE_INCLUDED)