File: fpzip-config.cmake.in

package info (click to toggle)
fpzip 1.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: cpp: 1,461; ansic: 488; makefile: 74
file content (24 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# - Config file for the fpzip package
#
# It defines the following variables
#  FPZIP_INCLUDE_DIRS - include directories for fpzip
#  FPZIP_LIBRARIES    - libraries to link against
#
# And the following imported targets:
#   fpzip::fpzip
#

include("${CMAKE_CURRENT_LIST_DIR}/fpzip-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 fpzip::fpzip)
  include("${CMAKE_CURRENT_LIST_DIR}/fpzip-targets.cmake")
endif()

set(ZFP_LIBRARIES fpzip::fpzip)
set(ZFP_INCLUDE_DIRS
  $<TARGET_PROPERTY:fpzip::fpzip,INTERFACE_INCLUDE_DIRECTORIES>
)