summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-DOWNLOAD/netrc-bad.cmake
blob: c62238a8e4e2cd05a16faf472d23f8b59e0809c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" MATCHES "^/")
  set(slash /)
endif()
file(DOWNLOAD "" "" NETRC)
file(DOWNLOAD "" "" NETRC_FILE)
set(CMAKE_NETRC FALSE)
file(DOWNLOAD
  "file://${slash}${CMAKE_CURRENT_SOURCE_DIR}/netrc-bad.txt"
  "${CMAKE_CURRENT_BINARY_DIR}/netrc-bad.txt"
  NETRC INVALID
  )
file(DOWNLOAD
  "file://${slash}${CMAKE_CURRENT_SOURCE_DIR}/netrc-bad.txt"
  "${CMAKE_CURRENT_BINARY_DIR}/netrc-bad.txt"
  )