guru/gui-apps/organicmaps/files/no-dynamic-download.patch
Vitaly Zdanevich 1a22ea7cee
gui-apps/organicmaps: reduce clones
The code is from https://github.com/organicmaps/organicmaps/issues/2217#issuecomment-1868159186

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
2023-12-25 10:02:13 +04:00

16 lines
772 B
Diff

diff --git a/transit/world_feed/world_feed_integration_tests/CMakeLists.txt b/transit/world_feed/world_feed_integration_tests/CMakeLists.txt
index 9f945568d4..ec9755ab09 100644
--- a/transit/world_feed/world_feed_integration_tests/CMakeLists.txt
+++ b/transit/world_feed/world_feed_integration_tests/CMakeLists.txt
@@ -10,7 +10,9 @@ target_link_libraries(${PROJECT_NAME}
)
# This test requires additional data from the other repository
-set(TEST_DATA_REPO_URL "https://github.com/organicmaps/world_feed_integration_tests_data.git")
+if(NOT TEST_DATA_REPO_URL)
+ set(TEST_DATA_REPO_URL "https://github.com/organicmaps/world_feed_integration_tests_data.git")
+endif()
set(DESTINATION_FOLDER "${OMIM_DATA_DIR}/world_feed_integration_tests_data/")
add_custom_command(