File: ZXingConfig.cmake.in

package info (click to toggle)
zxing-cpp 3.0.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,204 kB
  • sloc: ansic: 69,384; cpp: 34,624; php: 2,790; python: 199; makefile: 31; sh: 3
file content (9 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (5)
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()