CAMPVisConfig.cmake.in 937 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
# - Config file for the CAMPVis package
# It defines the following variables

#  CAMPVIS_INCLUDE_DIRS - include directories for FooBar
#  CAMPVIS_LIBRARIES    - libraries to link against
#  CAMPVIS_EXECUTABLE   - the bar executable

# Compute paths
get_filename_component(CAMPVIS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(CAMPVIS_INCLUDE_DIRS "@CampvisGlobalIncludeDirs@;@CampvisModulesIncludeDirs@")

SET(CAMPVIS_DEFINITIONS @CampvisGlobalDefinitions@)

14
15
16
FIND_PACKAGE(Qt5Widgets REQUIRED)
FIND_PACKAGE(Qt5OpenGL REQUIRED)
RESOLVE_QT5_DLL_LOCATIONS("Core;Gui;OpenGL;Widgets")
17
18
19
20
21
22
23
24
SET(CGT_WITH_QT true)

# Our library dependencies (contains definitions for IMPORTED targets)
include("${CAMPVIS_CMAKE_DIR}/CAMPVisTargets.cmake")

# These are IMPORTED targets created by FooBarTargets.cmake
SET(CAMPVIS_CORE_LIBRARIES campvis-core)
SET(CAMPVIS_MODULES_LIBRARIES campvis-modules)
25
SET(CAMPVIS_APPLICATION_LIBRARIES campvis-application-lib)