From 6a70ef9efbdd0dc1ec201bcbdc206e1d0c9f70ef Mon Sep 17 00:00:00 2001 From: noisyshape Date: Fri, 12 Apr 2019 10:29:27 -0400 Subject: [PATCH] Create version number for wix --- CMakeLists.txt | 1 + dist/wix/Include.wxi.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 538f8f9c..d5ec96f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -403,6 +403,7 @@ endif() # Windows installer # if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") + set (BARRIER_WIX_VERSION "${BARRIER_VERSION_MAJOR}.${BARRIER_VERSION_MINOR}.${BARRIER_VERSION_PATCH}") message (STATUS "Configuring the wix installer") configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/wix ${CMAKE_BINARY_DIR}/installer-wix) message (STATUS "Configuring the inno installer") diff --git a/dist/wix/Include.wxi.in b/dist/wix/Include.wxi.in index 652d203a..c227521f 100644 --- a/dist/wix/Include.wxi.in +++ b/dist/wix/Include.wxi.in @@ -1,7 +1,7 @@ - +