File: LibKEduVocDocumentConfig.cmake.in

package info (click to toggle)
libkeduvocdocument 4:17.08.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,308 kB
  • sloc: cpp: 8,109; sh: 17; makefile: 9
file content (43 lines) | stat: -rw-r--r-- 1,609 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#########################################################################
#
# LibKEduVocDocument Configuration File
#
# This file sets various CMake Variables
#
# LIBKEDUVOCDOCUMENT_INCLUDE_DIR                - The include directory 
# LIBKEDUVOCDOCUMENT_LIBRARIES  		- The keduvocdocument library
#
# Copyright 2008  Andreas Pakulat <apaku@gmx.de>
# Copyright 2010  Niko Sams <niko.sams@gmail.com>
# Copyright 2014  Jeremy Whiting <jpwhiting@kde.org>
# Redistribution and use is allowed according to the terms of the BSD license.
######################################################################

get_filename_component(_LIBKEDUVOCDOCUMENT_CURRENT_DIR  "${CMAKE_CURRENT_LIST_FILE}" PATH)

if(NOT WIN32)
# This is needed on non-win32 platforms, as lib-install-dir might be in a
# totally different prefix than include-install-dir. So instead hardcode the
# absolute path during buildtime
set( LIBKEDUVOCDOCUMENT_INCLUDE_DIR "@INCLUDE_INSTALL_DIR@/libkeduvocdocument" )

else(NOT WIN32)

set( LIBKEDUVOCDOCUMENT_INCLUDE_DIR "${_LIBKEDUVOCDOCUMENT_CURRENT_DIR}/../../../include/libkeduvocdocument" )

endif(NOT WIN32)

if( NOT TARGET LibKEduVocDocumentImport__keduvocdocument )
    include("${_LIBKEDUVOCDOCUMENT_CURRENT_DIR}/LibKEduVocDocumentTargets.cmake")
endif( NOT TARGET LibKEduVocDocumentImport__keduvocdocument )

macro( _libkeduvocdocument_set_lib_vars _prefix _lib )
  set( LIBKEDUVOCDOCUMENT_LIBRARIES LibKEduVocDocumentImport__${_lib} )
endmacro( _libkeduvocdocument_set_lib_vars )

_libkeduvocdocument_set_lib_vars( KEDUVOCDOCUMENT keduvocdocument )


mark_as_advanced(
    KEDUVOCDOCUMENT
)