1######################################################################### 2# 3# LibKEduVocDocument Configuration File 4# 5# This file sets various CMake Variables 6# 7# LIBKEDUVOCDOCUMENT_INCLUDE_DIR - The include directory 8# LIBKEDUVOCDOCUMENT_LIBRARIES - The keduvocdocument library 9# 10# SPDX-FileCopyrightText: 2008 Andreas Pakulat <apaku@gmx.de> 11# SPDX-FileCopyrightText: 2010 Niko Sams <niko.sams@gmail.com> 12# SPDX-FileCopyrightText: 2014 Jeremy Whiting <jpwhiting@kde.org> 13# SPDX-License-Identifier: BSD-1-Clause 14###################################################################### 15 16get_filename_component(_LIBKEDUVOCDOCUMENT_CURRENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) 17 18if(NOT WIN32) 19# This is needed on non-win32 platforms, as lib-install-dir might be in a 20# totally different prefix than include-install-dir. So instead hardcode the 21# absolute path during buildtime 22set( LIBKEDUVOCDOCUMENT_INCLUDE_DIR "@INCLUDE_INSTALL_DIR@/libkeduvocdocument" ) 23 24else(NOT WIN32) 25 26set( LIBKEDUVOCDOCUMENT_INCLUDE_DIR "${_LIBKEDUVOCDOCUMENT_CURRENT_DIR}/../../../include/libkeduvocdocument" ) 27 28endif(NOT WIN32) 29 30if( NOT TARGET LibKEduVocDocumentImport__keduvocdocument ) 31 include("${_LIBKEDUVOCDOCUMENT_CURRENT_DIR}/LibKEduVocDocumentTargets.cmake") 32endif( NOT TARGET LibKEduVocDocumentImport__keduvocdocument ) 33 34macro( _libkeduvocdocument_set_lib_vars _prefix _lib ) 35 set( LIBKEDUVOCDOCUMENT_LIBRARIES LibKEduVocDocumentImport__${_lib} ) 36endmacro( _libkeduvocdocument_set_lib_vars ) 37 38_libkeduvocdocument_set_lib_vars( KEDUVOCDOCUMENT keduvocdocument ) 39 40 41mark_as_advanced( 42 KEDUVOCDOCUMENT 43) 44