source: calamares/trunk/fuentes/CalamaresConfig.cmake.in @ 7538

Last change on this file since 7538 was 7538, checked in by kbut, 17 months ago

sync with github

File size: 1.1 KB
Line 
1# Config file for the Calamares package
2#
3# It defines the following variables
4#  CALAMARES_INCLUDE_DIRS - include directories for Calamares
5#  CALAMARES_LIBRARIES    - libraries to link against
6#  CALAMARES_USE_FILE     - name of a convenience include
7#  CALAMARES_APPLICATION_NAME - human-readable application name
8#
9# Typical use is:
10#
11#    find_package(Calamares REQUIRED)
12#    include("${CALAMARES_USE_FILE}")
13#
14
15# Compute paths
16get_filename_component(CALAMARES_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
17if(EXISTS "${CALAMARES_CMAKE_DIR}/CMakeCache.txt")
18   # In build tree
19   include("${CALAMARES_CMAKE_DIR}/CalamaresBuildTreeSettings.cmake")
20else()
21   set(CALAMARES_INCLUDE_DIRS "${CALAMARES_CMAKE_DIR}/@CONF_REL_INCLUDE_DIR@/libcalamares")
22endif()
23
24# Our library dependencies (contains definitions for IMPORTED targets)
25include("${CALAMARES_CMAKE_DIR}/CalamaresLibraryDepends.cmake")
26
27# These are IMPORTED targets created by CalamaresLibraryDepends.cmake
28set(CALAMARES_LIBRARIES calamares)
29
30# Convenience variables
31set(CALAMARES_USE_FILE "${CALAMARES_CMAKE_DIR}/CalamaresUse.cmake")
32set(CALAMARES_APPLICATION_NAME  "Calamares")
Note: See TracBrowser for help on using the repository browser.