1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/apitrace/no-submodule.patch
2024-06-05 12:45:06 +00:00

29 lines
1 KiB
Diff

diff -rupN apitrace-12.0/thirdparty/CMakeLists.txt apitrace-12.0-new/thirdparty/CMakeLists.txt
--- apitrace-12.0/thirdparty/CMakeLists.txt 2024-05-30 20:10:10.000000000 +0200
+++ apitrace-12.0-new/thirdparty/CMakeLists.txt 2024-06-04 19:02:09.558325831 +0200
@@ -16,25 +16,6 @@ function (include_with_scope)
include (${ARGV})
endfunction ()
-set (SUBMODULES_MISSING FALSE)
-foreach (path IN ITEMS
- brotli/LICENSE
- gtest/LICENSE
- libbacktrace/LICENSE
- libpng/LICENSE
- snappy/COPYING
- zlib/README
- directxmath/LICENSE
-)
- if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${path}")
- message (SEND_ERROR "error: ${CMAKE_CURRENT_SOURCE_DIR}/${path} does not exist")
- set (SUBMODULES_MISSING TRUE)
- endif ()
-endforeach ()
-if (SUBMODULES_MISSING)
- message (FATAL_ERROR "Update Git submodules by running\ngit submodule update --init --depth 1 --recursive")
-endif ()
-
if (ENABLE_STATIC_SNAPPY OR NOT Snappy_FOUND)
message (STATUS "Using bundled Snappy")
include_with_scope (snappy.cmake)