Actually abort after the message that tells people to set CMAKE_INSTALL_PREFIX

Test Plan:
`mkdir build ; cd build ; cmake ..` no longer prints out weird stuff after
the "!!!!" error message, it actually stops there as intended (AFAICS).
This commit is contained in:
David Faure 2019-03-25 00:08:18 +01:00
parent 7b03a01b18
commit 63fd27fbce

View File

@ -431,6 +431,7 @@ if(NOT DEVELOPER_MODE)
message("!! you MUST explicity define CMAKE_INSTALL_PREFIX !!")
message("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
message("${ESCAPE}[0m")
message(FATAL_ERROR "Aborting")
endif(QCA_INSTALL_IN_QT_PREFIX)
message("")