mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00

This edits the headers in every file so the copyright notice mentions RWTH Aachen University. We also update some copyright years and fix various comments so the header is the same across all of VILLASframework. * Harmonize comment and code-style Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com> * Harmonize comment and code-style Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com> --------- Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
28 lines
979 B
CMake
28 lines
979 B
CMake
# Try to find Criterion
|
|
#
|
|
# Once done this will define
|
|
# CRITERION_FOUND - System has Criterion
|
|
# CRITERION_INCLUDE_DIRS - The Criterion include directories
|
|
# CRITERION_LIBRARIES - The libraries needed to use Criterion
|
|
#
|
|
# SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
# SPDX-License-Identifier: WTFPL
|
|
|
|
find_package(PkgConfig)
|
|
|
|
find_path(CRITERION_INCLUDE_DIR criterion/criterion.h
|
|
PATH_SUFFIXES criterion)
|
|
|
|
find_library(CRITERION_LIBRARY NAMES criterion libcriterion)
|
|
|
|
set(CRITERION_LIBRARIES ${CRITERION_LIBRARY})
|
|
set(CRITERION_INCLUDE_DIRS ${CRITERION_INCLUDE_DIR})
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
# Handle the QUIET and REQUIRED arguments and set CRITERION_FOUND to TRUE
|
|
# if all listed variables are TRUE
|
|
find_package_handle_standard_args(Criterion DEFAULT_MSG
|
|
CRITERION_LIBRARY CRITERION_INCLUDE_DIR)
|
|
|
|
mark_as_advanced(CRITERION_INCLUDE_DIR CRITERION_LIBRARY)
|