From f9e3f17c0a1b74ce4b2368c00ec90cdb25443921 Mon Sep 17 00:00:00 2001 From: Francesco Gatti Date: Thu, 9 Apr 2020 20:00:29 +0200 Subject: [PATCH] cmake dont download test data --- CMakeLists.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9d912c..17dbf8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,16 +163,16 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" # source directory #------------------------------------------------------------------------------- -# Prepare for test +# Prepare for test (not needed anymore) #------------------------------------------------------------------------------- -set(TEST_DATA true CACHE BOOL "If true download deps") -if( ${TEST_DATA} ) - message("Launching pre-build dependency installer script...") - - execute_process (COMMAND bash -c "bash build_models.sh download" - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tests) - - set(TEST_DATA false CACHE BOOL "If true download deps" FORCE) - message("Finished dowloading test weights") -endif() +#set(TEST_DATA true CACHE BOOL "If true download deps") +#if( ${TEST_DATA} ) +# message("Launching pre-build dependency installer script...") +# +# execute_process (COMMAND bash -c "bash build_models.sh download" +# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tests) +# +# set(TEST_DATA false CACHE BOOL "If true download deps" FORCE) +# message("Finished dowloading test weights") +#endif()