# - Config file for the zfp package # # It defines the following variables # ZFP_INCLUDE_DIRS - include directories for zfp # ZFP_LIBRARIES - libraries to link against # ZFP_WITH_OPENMP - indicates if the zfp library has been built with OpenMP support # ZFP_WITH_CUDA - indicates if the zfp library has been built with CUDA support # # And the following imported targets: # zfp::zfp # include("${CMAKE_CURRENT_LIST_DIR}/zfp-config-version.cmake") include(FindPackageHandleStandardArgs) set(${CMAKE_FIND_PACKAGE_NAME}_CONFIG "${CMAKE_CURRENT_LIST_FILE}") find_package_handle_standard_args(${CMAKE_FIND_PACKAGE_NAME} CONFIG_MODE) if(NOT TARGET zfp::zfp) include("${CMAKE_CURRENT_LIST_DIR}/zfp-targets.cmake") endif() set(ZFP_LIBRARIES zfp::zfp) get_target_property(ZFP_INCLUDE_DIRS zfp::zfp INTERFACE_INCLUDE_DIRECTORIES) set(ZFP_WITH_OPENMP @ZFP_WITH_OPENMP@) if(ZFP_WITH_OPENMP) find_package(OpenMP REQUIRED COMPONENTS C) endif() set(ZFP_WITH_CUDA @ZFP_WITH_CUDA@)