mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-20 05:40:03 +02:00
29 lines
736 B
CMake
29 lines
736 B
CMake
# Config file for @PROJECT_NAME_LOWER@
|
|
#
|
|
# It defines the following variables:
|
|
#
|
|
# @PROJECT_NAME_UPPER@_INCLUDE_DIRS - include directory
|
|
# @PROJECT_NAME_UPPER@_LIBRARIES - all dynamic libraries
|
|
# @PROJECT_NAME_UPPER@_STATIC_LIBRARIES - all static libraries
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
set(SLS_USE_HDF5 "@SLS_USE_HDF5@")
|
|
|
|
# List dependencies
|
|
find_dependency(Threads)
|
|
find_dependency(fmt)
|
|
find_dependency(nlohmann_json)
|
|
|
|
# Add optional dependencies here
|
|
if (SLS_USE_HDF5)
|
|
find_dependency(HDF5)
|
|
endif ()
|
|
|
|
set_and_check(@PROJECT_NAME_UPPER@_CMAKE_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_DIR@")
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
|
|
check_required_components("@PROJECT_NAME@")
|