Skip to content

Commit

Permalink
PR #11766 from Allius27: create temporary file in build directory ins…
Browse files Browse the repository at this point in the history
…tead of source
  • Loading branch information
Nir-Az committed May 4, 2023
2 parents 7edc86a + 0c13641 commit 469d0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/connectivity_check.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# License: Apache 2.0. See LICENSE file in root directory.
# Copyright(c) 2019 Intel Corporation. All Rights Reserved.
message(STATUS "Checking internet connection...")
file(DOWNLOAD "https://librealsense.intel.com/Releases/connectivity_check" "${CMAKE_CURRENT_SOURCE_DIR}/connectivity_check" SHOW_PROGRESS TIMEOUT 5 STATUS status)
file(DOWNLOAD "https://librealsense.intel.com/Releases/connectivity_check" "${CMAKE_CURRENT_BINARY_DIR}/connectivity_check" SHOW_PROGRESS TIMEOUT 5 STATUS status)
list (FIND status "\"No error\"" _index)
if (${_index} EQUAL -1)
message(STATUS "Failed to identify Internet connection")
Expand Down

0 comments on commit 469d0ca

Please sign in to comment.