ZXingConfig.cmake.in 343 B

123456789
  1. @PACKAGE_INIT@
  2. include("${CMAKE_CURRENT_LIST_DIR}/ZXingTargets.cmake")
  3. # this does not work: add_library(ZXing::Core ALIAS ZXing::ZXing)
  4. # this is a workaround available since 3.11 :
  5. if(NOT(CMAKE_VERSION VERSION_LESS 3.11))
  6. add_library(ZXing::Core INTERFACE IMPORTED)
  7. target_link_libraries(ZXing::Core INTERFACE ZXing::ZXing)
  8. endif()