diff --git a/share/cmake/app4triqs-config.cmake.in b/share/cmake/app4triqs-config.cmake.in index 2cd3b660..f175ce4d 100644 --- a/share/cmake/app4triqs-config.cmake.in +++ b/share/cmake/app4triqs-config.cmake.in @@ -1,20 +1,24 @@ +# 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) +if(NOT APP4TRIQS_FOUND) set(APP4TRIQS_FOUND True) # version set(APP4TRIQS_VERSION @APP4TRIQS_VERSION@) set(APP4TRIQS_GIT_HASH @APP4TRIQS_GIT_HASH@) -# Root of the installation +# Root of the installation set(APP4TRIQS_ROOT @CMAKE_INSTALL_PREFIX@) -# include the exported targets of this project +# Include the exported targets of this project include(@CMAKE_INSTALL_PREFIX@/lib/cmake/triqs/app4triqs-targets.cmake) MESSAGE(STATUS "Found APP4TRIQSConfig.cmake with version ${APP4TRIQS_VERSION}, hash = ${APP4TRIQS_GIT_HASH}") -# Documentation +# Was the Project built with Documentation? set(APP4TRIQS_WITH_DOCUMENTATION @Build_Documentation@) -endif (NOT APP4TRIQS_FOUND) +endif()