summaryrefslogtreecommitdiff
path: root/cmake/modules/CPackInstallConfig.cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2017-01-29 10:46:43 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2017-01-30 17:47:35 +0100
commit6a8d0ae58608ee6bc0a6cc633e043c3960766888 (patch)
tree6063e3fba8cd2cd632b07f7f91d86c5347778d83 /cmake/modules/CPackInstallConfig.cmake
parentbccf457b2054cde1fa7c77626cc622fef8f38774 (diff)
Replace deprecated cmake install_ functions with related install(...) calls.
Reviewed-by: Simon McVittie <smcv@debian.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99586
Diffstat (limited to 'cmake/modules/CPackInstallConfig.cmake')
-rw-r--r--cmake/modules/CPackInstallConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/CPackInstallConfig.cmake b/cmake/modules/CPackInstallConfig.cmake
index 74b66898..46e8fb6d 100644
--- a/cmake/modules/CPackInstallConfig.cmake
+++ b/cmake/modules/CPackInstallConfig.cmake
@@ -1,10 +1,10 @@
if (DBUS_INSTALL_SYSTEM_LIBS)
if (MINGW)
- install_files(/bin FILES ${LIBEXPAT_LIBRARIES})
else (MINGW)
INCLUDE(InstallRequiredSystemLibraries)
endif (MINGW)
+ install(FILES ${LIBEXPAT_LIBRARIES} DESTINATION bin)
endif (DBUS_INSTALL_SYSTEM_LIBS)
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "D-BUS For Windows")