summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-07-10 08:12:40 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2013-07-10 08:12:40 -0700
commitb736a671807b8d291a219e3040d2caad5bb53944 (patch)
treed414c9756da806d72ffc411c504ed8f8438cdb94 /cmake
parentd84747b1d8d93fa68b94c7f606a214a526c9a528 (diff)
cmake: Windows packages automatically include compiler runtime DLL's to remove an installation step
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/GrPackage.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/Modules/GrPackage.cmake b/cmake/Modules/GrPackage.cmake
index d1b0b33205..54a752661d 100644
--- a/cmake/Modules/GrPackage.cmake
+++ b/cmake/Modules/GrPackage.cmake
@@ -175,3 +175,8 @@ endforeach(filename)
set(CPACK_NSIS_MODIFY_PATH ON)
set(HLKM_ENV "\\\"SYSTEM\\\\CurrentControlSet\\\\Control\\\\Session Manager\\\\Environment\\\"")
+
+IF(WIN32)
+ #Install necessary runtime DLL's
+ INCLUDE(InstallRequiredSystemLibraries)
+ENDIF(WIN32)