You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
567 B
20 lines
567 B
3 years ago
|
execute_process(COMMAND ${CMAKE_COMMAND} -E true
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
COMMAND ${CMAKE_COMMAND} -E true
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
RESULT_VARIABLE result
|
||
|
)
|
||
|
|
||
|
if(NOT result EQUAL "0")
|
||
|
execute_process(COMMAND ${CMAKE_COMMAND} -E true
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
COMMAND ${CMAKE_COMMAND} -E true
|
||
|
COMMAND ${CMAKE_COMMAND} -E false
|
||
|
COMMAND_ERROR_IS_FATAL LAST
|
||
|
)
|
||
|
endif()
|