Skip to content

Commit

Permalink
fix the problem in test/CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhzzz0821 committed Nov 19, 2024
1 parent 62b0a19 commit 36ae884
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#[[
Licensed to the Apache Software Foundation(ASF) under one
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
Expand Down Expand Up @@ -30,8 +30,7 @@ set(TIMEOUT 30)

foreach(URL ${URL_LIST})
message(STATUS "Trying to download from ${URL}")
file(DOWNLOAD ${
URL} "${CMAKE_BINARY_DIR}/googletest-release-1.12.1.zip" STATUS DOWNLOAD_STATUS TIMEOUT ${TIMEOUT})
file(DOWNLOAD ${URL} "${CMAKE_BINARY_DIR}/googletest-release-1.12.1.zip" STATUS DOWNLOAD_STATUS TIMEOUT ${TIMEOUT})

list(GET DOWNLOAD_STATUS 0 DOWNLOAD_RESULT)
if(${DOWNLOAD_RESULT} EQUAL 0)
Expand Down

0 comments on commit 36ae884

Please sign in to comment.