From 63fd27fbce780bccb9c9b3ff6649888cfd809c6a Mon Sep 17 00:00:00 2001
From: David Faure <faure@kde.org>
Date: Mon, 25 Mar 2019 00:08:18 +0100
Subject: [PATCH] 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).
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5aa856a3..327511e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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("")