File: ZXingConfig.cmake.in

package info (click to toggle)
zxing-cpp 2.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,832 kB
  • sloc: cpp: 32,803; ansic: 18,360; php: 1,156; python: 215; makefile: 25; sh: 3
file content (9 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/ZXingTargets.cmake")

# this does not work: add_library(ZXing::Core ALIAS ZXing::ZXing)
# this is a workaround available since 3.11 :
if(NOT(CMAKE_VERSION VERSION_LESS 3.11))
    add_library(ZXing::Core INTERFACE IMPORTED)
    target_link_libraries(ZXing::Core INTERFACE ZXing::ZXing)
endif()