mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 05:49:56 -04:00
Move fatal error after useful debug output (d'oh!)
This commit is contained in:
parent
626b8c0f6a
commit
c97105f3e9
@ -32,10 +32,10 @@ execute_process(
|
|||||||
if((NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${GIT_TOPLEVEL}")
|
if((NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${GIT_TOPLEVEL}")
|
||||||
OR ("${PRJ_GIT_REV}" STREQUAL ""))
|
OR ("${PRJ_GIT_REV}" STREQUAL ""))
|
||||||
if(NOT EXISTS ${VERSION_SRC_FILE} OR NOT EXISTS ${VERSION_HDR_FILE})
|
if(NOT EXISTS ${VERSION_SRC_FILE} OR NOT EXISTS ${VERSION_HDR_FILE})
|
||||||
message(FATAL_ERROR "missing version files")
|
|
||||||
message("CMAKE_CURRENT_SOURCE_DIR: ${CMAKE_CURRENT_SOURCE_DIR}")
|
message("CMAKE_CURRENT_SOURCE_DIR: ${CMAKE_CURRENT_SOURCE_DIR}")
|
||||||
message("GIT_TOPLEVEL: ${GIT_TOPLEVEL}")
|
message("GIT_TOPLEVEL: ${GIT_TOPLEVEL}")
|
||||||
message("PRJ_GIT_REV: ${PRJ_GIT_REV}")
|
message("PRJ_GIT_REV: ${PRJ_GIT_REV}")
|
||||||
|
message(FATAL_ERROR "missing version files")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
execute_process(
|
execute_process(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user