aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildGettext.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake.deps/cmake/BuildGettext.cmake')
-rw-r--r--cmake.deps/cmake/BuildGettext.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake.deps/cmake/BuildGettext.cmake b/cmake.deps/cmake/BuildGettext.cmake
index 4bcfeea32a..aecd5da626 100644
--- a/cmake.deps/cmake/BuildGettext.cmake
+++ b/cmake.deps/cmake/BuildGettext.cmake
@@ -1,4 +1,7 @@
if(MSVC)
+ if(USE_EXISTING_SRC_DIR)
+ unset(GETTEXT_URL)
+ endif()
ExternalProject_Add(gettext
URL ${GETTEXT_URL}
URL_HASH SHA256=${GETTEXT_SHA256}