3
0
mirror of https://github.com/triqs/dft_tools synced 2024-07-17 08:30:35 +02:00
dft_tools/share/cmake/app4triqs-config.cmake.in

33 lines
959 B
CMake
Raw Normal View History

# This file allows other CMake Projects to find us
# We provide general project information
# and reestablish the exported CMake Targets
# Multiple inclusion guard
if(NOT APP4TRIQS_FOUND)
set(APP4TRIQS_FOUND TRUE)
set_property(GLOBAL PROPERTY APP4TRIQS_FOUND TRUE)
# version
set(APP4TRIQS_VERSION @PROJECT_VERSION@)
set(APP4TRIQS_GIT_HASH @PROJECT_GIT_HASH@)
# Root of the installation
set(APP4TRIQS_ROOT @CMAKE_INSTALL_PREFIX@)
## Find the target dependencies
#include(CMakeFindDependencyMacro)
#find_dependency(...)
# Include the exported targets of this project
include(@CMAKE_INSTALL_PREFIX@/lib/cmake/app4triqs/app4triqs-targets.cmake)
message(STATUS "Found app4triqs-config.cmake with version @PROJECT_VERSION@, hash = @PROJECT_GIT_HASH@")
# Was the Project built with Documentation?
set(APP4TRIQS_WITH_DOCUMENTATION @Build_Documentation@)
# Was the Project built with PythonSupport?
set(APP4TRIQS_WITH_PYTHON_SUPPORT @PythonSupport@)
endif()