From 7f29a3f6245d1f060324d28957bf50c905f0dde8 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Mon, 15 Apr 2019 12:11:01 -0400 Subject: [PATCH] Additional docs and cleaning in XXX-config.cmake.in file --- share/cmake/app4triqs-config.cmake.in | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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()