Skip to content

Commit

Permalink
create temporary file in build directory instead of source
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Solozobov committed May 4, 2023
1 parent b874e42 commit 0c13641
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 0c13641

Please sign in to comment.