1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: David Heidelberg <david@ixit.cz>
Date: Mon, 23 May 2022 18:25:13 +0200
Subject: Drop requirement for submodules
Since we don't ship bundled third-party code, these files would be missing
and the builds would fail despite the fact we're linking to the system libraries.
---
thirdparty/CMakeLists.txt | 4 ----
1 file changed, 4 deletions(-)
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -26,10 +26,6 @@ foreach (path IN ITEMS
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")
|