file-without-path.cmake 222 B

12345678910
  1. include(common.cmake)
  2. set(file_orig "${file}")
  3. cmake_path(GET file_orig FILENAME file)
  4. file_download()
  5. if(NOT EXISTS "${file_orig}")
  6. message(FATAL_ERROR "file not downloaded to expected path:\n ${file_orig}")
  7. endif()