From: Michael Wallner Date: Mon, 14 Dec 2020 12:36:19 +0000 (+0100) Subject: cpack: skip root symlinks on windows X-Git-Tag: 1.1.0-beta1~61 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=08183e32cae3bb2a610e98fe92e0c7796e8872e7;p=awesomized%2Flibmemcached cpack: skip root symlinks on windows --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dc13f11..c32fedae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,13 +57,10 @@ include(CPack.txt) install(FILES AUTHORS BUGS.md - ChangeLog ChangeLog-0.md ChangeLog-1.0.md ChangeLog-1.1.md - ChangeLog.md CONTRIBUTING.md - COPYING LICENSE NEWS README.md @@ -71,6 +68,16 @@ install(FILES COMPONENT doc DESTINATION ${CMAKE_INSTALL_DOCDIR}/ ) +if(NOT WIN32) + # skip links on windows (cmake bug?) + install(FILES + ChangeLog + ChangeLog.md + COPYING + COMPONENT doc + DESTINATION ${CMAKE_INSTALL_DOCDIR}/ + ) +endif() if(ENV{INVALID_CONFIGURATION}) message(FATAL_ERROR "invalid configuration -- giving up")