summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/InstallMSYS2.cmake
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-05-03 20:32:58 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-05-03 20:32:58 +0000
commit670266198729ea4264915d3f635ff0735d2cd5bf (patch)
tree04a57021d72d44026ccc3bed74dc34668fe5e498 /CMakeScripts/InstallMSYS2.cmake
parentAdd control point at center of stars (diff)
downloadinkscape-670266198729ea4264915d3f635ff0735d2cd5bf.tar.gz
inkscape-670266198729ea4264915d3f635ff0735d2cd5bf.zip
cmake/MSYS2: Exclude python testsuite from install
(those are unittests for Python itself, unittest module is still included) (bzr r15660)
Diffstat (limited to 'CMakeScripts/InstallMSYS2.cmake')
-rw-r--r--CMakeScripts/InstallMSYS2.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake
index c6690bbe9..aac4fd648 100644
--- a/CMakeScripts/InstallMSYS2.cmake
+++ b/CMakeScripts/InstallMSYS2.cmake
@@ -221,7 +221,9 @@ if(WIN32)
DESTINATION ${CMAKE_INSTALL_PREFIX})
install(DIRECTORY ${MINGW_LIB}/python2.7
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
- PATTERN "python2.7/site-packages" EXCLUDE)
+ PATTERN "python2.7/site-packages" EXCLUDE # specify individual packages to install below
+ PATTERN "python2.7/test" EXCLUDE # we don't need the Python testsuite
+ )
set(site_packages "lib/python2.7/site-packages")
# Python packages installed via pacman