diff options
Diffstat (limited to 'libraries/zxing-cpp/zxing.cmake.patch')
-rw-r--r-- | libraries/zxing-cpp/zxing.cmake.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/zxing-cpp/zxing.cmake.patch b/libraries/zxing-cpp/zxing.cmake.patch new file mode 100644 index 0000000000..c7fc316223 --- /dev/null +++ b/libraries/zxing-cpp/zxing.cmake.patch @@ -0,0 +1,15 @@ +--- zxing.cmake.orig 2023-11-10 19:38:55.601450169 +0000 ++++ zxing.cmake 2023-11-10 19:39:15.889449494 +0000 +@@ -12,11 +12,8 @@ + + if (NOT STB_FOUND) + include(FetchContent) +- FetchContent_Declare (stb +- GIT_REPOSITORY https://github.com/nothings/stb.git) +- FetchContent_MakeAvailable (stb) + add_library(stb::stb INTERFACE IMPORTED) +- target_include_directories(stb::stb INTERFACE ${stb_SOURCE_DIR}) ++ target_include_directories(stb::stb INTERFACE ../stb-src) + else() + add_library(stb::stb ALIAS PkgConfig::STB) + endif() |