-
Notifications
You must be signed in to change notification settings - Fork 39
/
osgWorksConfig.cmake.in
executable file
·29 lines (25 loc) · 1.25 KB
/
osgWorksConfig.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
26
27
28
29
# - Config file for the osgWorks package
# It defines the following variables
# OSGWORKS_INCLUDE_DIRS - include directories for osgWorks
# OSGWORKS_LIBRARIES - libraries to link against
# OSGWORKS_EXECUTABLE - the bar executable
@PACKAGE_INIT@
# These are IMPORTED targets created by osgWorksLibraryDepends.cmake
set(OSGWORKS_LIBRARIES "osgwTools;osgwQuery;osgwMx;osgwControls" )
set(OSGWORKS_EXECUTABLE test)
# Compute paths
# get_filename_component(OSGWORKS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
if(EXISTS "${PACKAGE_PREFIX_DIR}/CMakeCache.txt")
# In build tree
include("${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgWorksBuildTreeSettings.cmake")
# Our library dependencies (contains definitions for IMPORTED targets)
include("${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgWorksLibraryDepends.cmake")
else()
set_and_check(OSGWORKS_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
# The osgWorks targets file.
if(EXISTS "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgworks-targets.cmake")
include("${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgworks-targets.cmake")
endif()
endif()
# The location of the UseosgWorks.cmake file.
set(osgWorks_USE_FILE "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/UseosgWorks.cmake")