File: LibKdeEduConfig.cmake.in

package info (click to toggle)
libkdeedu 4%3A4.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,708 kB
  • ctags: 1,477
  • sloc: cpp: 13,212; sh: 10; makefile: 9
file content (45 lines) | stat: -rw-r--r-- 1,604 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
44
45
#########################################################################
#
# LibKdeEdu Configuration File
#
# This file sets various CMake Variables
#
# LIBKDEEDU_INCLUDE_DIR                - The Include Directory for all LIBKDEEDU libraries
# LIBKDEEDU_KEDUVOCDOCUMENT_LIBRARIES  - the keduvocdocument library
# LIBKDEEDU_KDEEDUUI_LIBRARIES         - the kdeeduui library
#
# Copyright 2008  Andreas Pakulat <apaku@gmx.de>
# Copyright 2010  Niko Sams <niko.sams@gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
######################################################################

get_filename_component(_LIBKDEEDU_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( LIBKDEEDU_INCLUDE_DIR "@INCLUDE_INSTALL_DIR@/libkdeedu" )

else(NOT WIN32)

set( LIBKDEEDU_INCLUDE_DIR "${_LIBKDEEDU_CURRENT_DIR}/../../../include/libkdeedu" )

endif(NOT WIN32)

if( NOT TARGET LibKdeEduImport__keduvocdocument )
    include("${_LIBKDEEDU_CURRENT_DIR}/LibKdeEduTargets.cmake")
endif( NOT TARGET LibKdeEduImport__keduvocdocument )

macro( _libkdeedu_set_lib_vars _prefix _lib )
  set( LIBKDEEDU_${_prefix}_LIBRARIES LibKdeEduImport__${_lib} )
endmacro( _libkdeedu_set_lib_vars )

_libkdeedu_set_lib_vars( KEDUVOCDOCUMENT keduvocdocument )
_libkdeedu_set_lib_vars( KDEEDUUI kdeeduui )
_libkdeedu_set_lib_vars( QTMMLWIDGET qtmmlwidget )


mark_as_advanced(
    KEDUVOCDOCUMENT
)