blob: 5761e24a824dc8635fead819be3a74e1ae01f666 (
plain)
1
2
3
4
5
6
7
8
|
execute_process(COMMAND cmake ${CMAKE_BINARY_DIR} RESULT_VARIABLE ret)
if(NOT ret EQUAL 0)
message(FATAL_ERROR "can't regen")
endif()
execute_process(COMMAND cmake --build ${CMAKE_BINARY_DIR} --target tarball-real2)
if(NOT ret EQUAL 0)
message(FATAL_ERROR "can't make tarball")
endif()
|