summaryrefslogtreecommitdiff
path: root/win/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'win/packaging')
-rw-r--r--win/packaging/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/packaging/CMakeLists.txt b/win/packaging/CMakeLists.txt
index c0670a171ba..8ba436a518e 100644
--- a/win/packaging/CMakeLists.txt
+++ b/win/packaging/CMakeLists.txt
@@ -40,6 +40,11 @@ IF(NOT WIX_DIR)
IF(NOT _WIX_DIR_CHECKED)
SET(_WIX_DIR_CHECKED 1 CACHE INTERNAL "")
MESSAGE(STATUS "Cannot find wix 3, installer project will not be generated")
+ IF(BUILD_RELEASE)
+ MESSAGE(FATAL_ERROR
+ "Can't find Wix. It is necessary for producing official package"
+ )
+ ENDIF()
ENDIF()
RETURN()
ENDIF()