blob: 03467714e2c83e8d8ba637f0f5c4dcc59991765e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index 34eb7f7..5fbd073 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -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)
|