forked from markasselin/PlusApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PlusAppConfig.cmake.in
23 lines (18 loc) · 998 Bytes
/
PlusAppConfig.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
# - Config file for the PlusApp package
# It defines the following variables
# PlusApp_INCLUDE_DIRS - include directories for PlusApp
# PlusApp_LIBRARY_DIRS - library directories for PlusApp (normally not used!)
# PlusApp_LIRARIES - list of targets exported by this package
# Resolve needed dependencies
SET(Qt5_DIR @Qt5_DIR@)
FIND_PACKAGE(Qt5 REQUIRED COMPONENTS Core Widgets Test)
SET(PlusLib_DIR @PlusLib_DIR@)
FIND_PACKAGE(PlusLib REQUIRED PATHS "${PlusLib_DIR}/src" NO_MODULE)
# Tell the user project where to find our headers and libraries
SET(PlusApp_INCLUDE_DIRS "@PLUSAPP_INCLUDE_DIRS@")
SET(PlusApp_LIBRARY_DIRS "@PLUSAPP_LIBRARY_DIRS@")
SET(PlusApp_LIBRARIES "@PLUSAPP_LIBRARIES@")
# Tell the user project where to find PlusApp use file
SET(PlusApp_USE_FILE "@CMAKE_CURRENT_BINARY_DIR@/UsePlusApp.cmake" )
# Include targets generated by PlusApp (contains definitions for IMPORTED targets)
include("@CMAKE_CURRENT_BINARY_DIR@/PlusAppLibraryTargets.cmake")