mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
9 lines
221 B
CMake
9 lines
221 B
CMake
execute_process(
|
|
COMMAND ${CMAKE_COMMAND} -E rm ""
|
|
RESULT_VARIABLE actual_result
|
|
)
|
|
|
|
if(NOT "${actual_result}" EQUAL "1")
|
|
message(SEND_ERROR "cmake -E rm \"\" should have returned 1, got ${actual_result}")
|
|
endif()
|