You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
449 B

cmake_minimum_required(VERSION 3.16)
project(ZXingInstallTest LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17) # make sure the public API is still c++17 compatible
find_package(ZXing CONFIG REQUIRED)
add_executable(InstallTest main.cpp)
target_link_libraries(InstallTest PRIVATE ZXing::ZXing)
if (ZXING_WRITERS MATCHES "BOTH|OLD")
add_executable(InstallTestOLD mainOLD.cpp)
target_link_libraries(InstallTestOLD PRIVATE ZXing::ZXing)
endif()