summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-29 12:49:35 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-29 14:56:59 (GMT)
commit0e7bca923e65df8fda37dd50ca68c7207eb3acbe (patch)
treebe3dd67e09e864cb289013e892bafb0c30b3be1b
parenteb817be034e0fd50b7abfc3ae032e2e06cbfd040 (diff)
downloadCMake-0e7bca923e65df8fda37dd50ca68c7207eb3acbe.zip
CMake-0e7bca923e65df8fda37dd50ca68c7207eb3acbe.tar.gz
CMake-0e7bca923e65df8fda37dd50ca68c7207eb3acbe.tar.bz2
Utilities/Release: Stabilize include order in WiX custom action
In `detect_nsis_overwrite.cpp` we include windows.h first, and we must preserve that. Place the include in an isolated block so that tools that sort includes do not move it.
-rw-r--r--Utilities/Release/WiX/CustomAction/detect_nsis_overwrite.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/Release/WiX/CustomAction/detect_nsis_overwrite.cpp b/Utilities/Release/WiX/CustomAction/detect_nsis_overwrite.cpp
index dad1ae5..d4f628c 100644
--- a/Utilities/Release/WiX/CustomAction/detect_nsis_overwrite.cpp
+++ b/Utilities/Release/WiX/CustomAction/detect_nsis_overwrite.cpp
@@ -1,4 +1,5 @@
#include <windows.h>
+
#include <msi.h>
#include <msiquery.h>