CalamaresConfig.cmake.in 894 B

12345678910111213141516171819202122
  1. # - Config file for the Calamares package
  2. # It defines the following variables
  3. # CALAMARES_INCLUDE_DIRS - include directories for Calamares
  4. # CALAMARES_LIBRARIES - libraries to link against
  5. # CALAMARES_EXECUTABLE - the bar executable
  6. # Compute paths
  7. get_filename_component(CALAMARES_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  8. if(EXISTS "${CALAMARES_CMAKE_DIR}/CMakeCache.txt")
  9. # In build tree
  10. include("${CALAMARES_CMAKE_DIR}/CalamaresBuildTreeSettings.cmake")
  11. else()
  12. set(CALAMARES_INCLUDE_DIRS "${CALAMARES_CMAKE_DIR}/@CONF_REL_INCLUDE_DIR@/libcalamares")
  13. endif()
  14. # Our library dependencies (contains definitions for IMPORTED targets)
  15. include("${CALAMARES_CMAKE_DIR}/CalamaresLibraryDepends.cmake")
  16. # These are IMPORTED targets created by CalamaresLibraryDepends.cmake
  17. set(CALAMARES_LIBRARIES calamares)
  18. set(CALAMARES_USE_FILE "${CALAMARES_CMAKE_DIR}/CalamaresUse.cmake")