cmake dont download test data
This commit is contained in:
+11
-11
@@ -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")
|
#set(TEST_DATA true CACHE BOOL "If true download deps")
|
||||||
if( ${TEST_DATA} )
|
#if( ${TEST_DATA} )
|
||||||
message("Launching pre-build dependency installer script...")
|
# message("Launching pre-build dependency installer script...")
|
||||||
|
#
|
||||||
execute_process (COMMAND bash -c "bash build_models.sh download"
|
# execute_process (COMMAND bash -c "bash build_models.sh download"
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||||
|
#
|
||||||
set(TEST_DATA false CACHE BOOL "If true download deps" FORCE)
|
# set(TEST_DATA false CACHE BOOL "If true download deps" FORCE)
|
||||||
message("Finished dowloading test weights")
|
# message("Finished dowloading test weights")
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user