mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
22 lines
890 B
CMake
22 lines
890 B
CMake
# - Config file for the KDeclarative package
|
|
# It defines the following variables
|
|
# KDECLARATIVE_INCLUDE_DIRS - include directories for KDeclarative
|
|
# KDECLARATIVE_LIBRARIES - libraries to link against
|
|
|
|
set(KDECLARATIVE_FOUND true)
|
|
|
|
# Compute paths
|
|
get_filename_component(KDECLARATIVE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
get_filename_component(KDECLARATIVE_PREFIX ${KDECLARATIVE_CMAKE_DIR}/@relInstallDir@ ABSOLUTE)
|
|
if(EXISTS "${KDECLARATIVE_CMAKE_DIR}/CMakeCache.txt")
|
|
# In build tree
|
|
set(KDECLARATIVE_INCLUDE_DIRS "@PROJECT_SOURCE_DIR@")
|
|
else()
|
|
set(KDECLARATIVE_INCLUDE_DIRS "@INCLUDE_INSTALL_DIR@")
|
|
endif()
|
|
|
|
# Our library dependencies (contains definitions for IMPORTED targets)
|
|
include("${KDECLARATIVE_CMAKE_DIR}/KDeclarativeLibraryTargets.cmake")
|
|
|
|
# These are IMPORTED targets created by KDeclarativeLibraryDepends.cmake
|
|
set(KDECLARATIVE_LIBRARIES kdeclarative)
|