E_rm_empty_file_specified.cmake 221 B

12345678
  1. execute_process(
  2. COMMAND ${CMAKE_COMMAND} -E rm ""
  3. RESULT_VARIABLE actual_result
  4. )
  5. if(NOT "${actual_result}" EQUAL "1")
  6. message(SEND_ERROR "cmake -E rm \"\" should have returned 1, got ${actual_result}")
  7. endif()