################################################################################ # Copyright 2018-2022, Barcelona Supercomputing Center (BSC), Spain # # Copyright 2015-2022, Johannes Gutenberg Universitaet Mainz, Germany # # # # This software was partially supported by the # # EC H2020 funded project NEXTGenIO (Project ID: 671951, www.nextgenio.eu). # # # # This software was partially supported by the # # ADA-FS project under the SPPEXA project funded by the DFG. # # # # This file is part of GekkoFS. # # # # GekkoFS is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation, either version 3 of the License, or # # (at your option) any later version. # # # # GekkoFS is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # You should have received a copy of the GNU General Public License # # along with GekkoFS. If not, see . # # # # SPDX-License-Identifier: GPL-3.0-or-later # ################################################################################ find_path(PARALLAX_INCLUDE_DIR NAMES parallax.h ) find_library(PARALLAX_LIBRARY NAMES parallax ) find_library(LOG_LIBRARY NAMES log ) set(PARALLAX_INCLUDE_DIRS ${PARALLAX_INCLUDE_DIR}) set(PARALLAX_LIBRARIES ${PARALLAX_LIBRARY}) set(PARALLAX_LIBRARIES ${LOG_LIBRARY}) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Parallax DEFAULT_MSG PARALLAX_LIBRARY LOG_LIBRARY PARALLAX_INCLUDE_DIR) mark_as_advanced( PARALLAX_LIBRARY PARALLAX_INCLUDE_DIR LOG_LIBRARY )