diff options
author | Bloyburt <alexpen@startmail.com> | 2023-11-12 09:57:40 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-12 13:40:31 +0700 |
commit | d25a8c355bfa103ea3dd54885df13adc1c4c8300 (patch) | |
tree | c31bfeb1c512e3d9773ef816dca63e85dc354b07 /libraries/zxing-cpp/zxing.cmake.patch | |
parent | 4c3bb304ceeb53bac78bffaf93d68f00924bd275 (diff) |
libraries/zxing-cpp: Moved to libraries and build offline.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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() |