vcpkg/ports/shaderc/0001-Do-not-generate-build-version.inc.patch

31 lines
1.0 KiB
Diff
Raw Normal View History

2016-11-27 19:07:15 +08:00
From e8e12e856cbc41f9bdcc83bc87eb5013df199ee1 Mon Sep 17 00:00:00 2001
From: vlj <vljn.ovi@gmail.com>
Date: Fri, 2 Dec 2016 16:36:25 +0100
Subject: [PATCH] Do not generate build-version.inc
---
CMakeLists.txt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a4c2fac..5544a2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,8 +53,8 @@ add_subdirectory(libshaderc)
add_subdirectory(glslc)
add_subdirectory(examples)
-add_custom_target(build-version
- ${PYTHON_EXE}
- ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
- ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR}
- COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).")
+#add_custom_target(build-version
+# ${PYTHON_EXE}
+# ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
+# ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR}
+# COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).")
--
2.10.2.windows.1