-#-----------------------------------------------------------------------------
-# Code installing the files needed to find the library
-# with the cmake command FIND_PACKAGE
-# Uses crea_INSTALL_LIBRARY_FOR_CMAKE macro
-#-----------------------------------------------------------------------------
-
-#-----------------------------------------------------------------------------
-# - Set the variable LIBRARY_NAME to the name of your library
-SET(LIBRARY_NAME crea)
-
-SET(${LIBRARY_NAME}_INSTALL_FOLDER crea)
-SET(${LIBRARY_NAME}_LIBRARIES crea)
-
-SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS src)
-
-IF(UNIX)
- SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS
- ${EXECUTABLE_OUTPUT_REL_PATH})
-ELSE(UNIX)
- SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS
- ${EXECUTABLE_OUTPUT_REL_PATH}/Debug
- ${EXECUTABLE_OUTPUT_REL_PATH}/Release)
-ENDIF(UNIX)
-
-SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/crea)
-SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS lib)
-
-# OPTIONAL
-# - Set the version of your library
-# SET YOUR LIB VERSION
-#SET(${LIBRARY_NAME}_MAJOR_VERSION 1)
-#SET(${LIBRARY_NAME}_MINOR_VERSION 0)
-#SET(${LIBRARY_NAME}_BUILD_VERSION 0)
-# REQUIRED BUILD FLAGS
-#SET(${LIBRARY_NAME}_REQUIRED_C_FLAGS "")
-#SET(${LIBRARY_NAME}_REQUIRED_CXX_FLAGS "")
-#SET(${LIBRARY_NAME}_REQUIRED_LINK_FLAGS "")
-# ADDITIONAL CONFIG FILE
-SET(${LIBRARY_NAME}_HAS_ADDITIONAL_CONFIG_FILE TRUE)
-SET(${LIBRARY_NAME}_ADDITIONAL_CONFIG_FILE
- ${PROJECT_SOURCE_DIR}/AdditionalcreaConfig.cmake.in)
-SET(${LIBRARY_NAME}_ADDITIONAL_USE_FILE
- ${PROJECT_SOURCE_DIR}/AdditionalUsecrea.cmake.in)
-
-# Invoke the macro
-crea_INSTALL_LIBRARY_FOR_CMAKE(${LIBRARY_NAME})
-#-----------------------------------------------------------------------------