]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
ZXing CMake check fix
authorgg <chown_tee@proton.me>
Tue, 13 Jan 2026 02:32:58 +0000 (21:32 -0500)
committergg <chown_tee@proton.me>
Tue, 13 Jan 2026 02:32:58 +0000 (21:32 -0500)
src/CMakeLists.txt

index 170ea479101df401db2e7918585631c982213231..d7727b2da429061a4ecfe78503315a107bfbc429 100644 (file)
@@ -307,6 +307,7 @@ endif()
 if (WITH_SCANNER)
     include(CheckCXXSourceCompiles)
     set(CMAKE_REQUIRED_LIBRARIES ${ZXING_LIBRARIES})
+    set(CMAKE_REQUIRED_INCLUDES ${ZXING_INCLUDE_DIRS})
 
     check_cxx_source_compiles("
     #include <ZXing/ReadBarcode.h>