summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-29 15:22:40 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-29 15:24:36 (GMT)
commit8c51dbdd9bf67c0b8a68393c8b2288a6cfc233e0 (patch)
tree468d0edff955a6a3693bfb34695371a92e13f1a1
parentfca4423786ba2c4a5ab0ec6c1a1cbac8cd8600b4 (diff)
downloadCMake-8c51dbdd9bf67c0b8a68393c8b2288a6cfc233e0.zip
CMake-8c51dbdd9bf67c0b8a68393c8b2288a6cfc233e0.tar.gz
CMake-8c51dbdd9bf67c0b8a68393c8b2288a6cfc233e0.tar.bz2
cmCPackDragNDropGenerator: Add missing include
We use `std::sort` and so must include `<algorithm>`. Issue: #17233
-rw-r--r--Source/CPack/cmCPackDragNDropGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.cxx b/Source/CPack/cmCPackDragNDropGenerator.cxx
index 9864cf3..d26d5bc 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.cxx
+++ b/Source/CPack/cmCPackDragNDropGenerator.cxx
@@ -9,6 +9,7 @@
#include "cmsys/FStream.hxx"
#include "cmsys/RegularExpression.hxx"
+#include <algorithm>
#include <iomanip>
#include <map>
#include <stdlib.h>