pineapple/externals/vcpkg/ports/mongo-c-driver/disable-source-write.patch
2022-07-23 03:01:36 +02:00

15 lines
652 B
Diff
Executable file

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ff8bbf..32c2e00 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,8 +114,8 @@ if (BUILD_VERSION STREQUAL "0.0.0")
file (WRITE ${PROJECT_SOURCE_DIR}/VERSION_CURRENT ${BUILD_VERSION})
endif ()
else ()
- message ("storing BUILD_VERSION ${BUILD_VERSION} in file VERSION_CURRENT for later use")
- file (WRITE ${PROJECT_SOURCE_DIR}/VERSION_CURRENT ${BUILD_VERSION})
+ #message ("storing BUILD_VERSION ${BUILD_VERSION} in file VERSION_CURRENT for later use")
+ #file (WRITE ${PROJECT_SOURCE_DIR}/VERSION_CURRENT ${BUILD_VERSION})
endif ()
include (LoadVersion)