summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-06-08 21:07:02 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-06-09 00:46:22 +0000
commit5d824f8bb5b0dc11f0459600d277838ed6f2e057 (patch)
treebba275190705077ff0dd7e23634da8019a2bcf60 /CMakeScripts
parentMinor cleanup (remove unneeded win32-specific defines) (diff)
downloadinkscape-5d824f8bb5b0dc11f0459600d277838ed6f2e057.tar.gz
inkscape-5d824f8bb5b0dc11f0459600d277838ed6f2e057.zip
CMake: Use bin subfolder for binaries on Windows
Second part of https://gitlab.com/inkscape/inkscape/issues/82
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/InstallMSYS2.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake
index f19f19417..36fd94264 100644
--- a/CMakeScripts/InstallMSYS2.cmake
+++ b/CMakeScripts/InstallMSYS2.cmake
@@ -123,16 +123,16 @@ if(WIN32)
${MINGW_BIN}/tcl[0-9]*.dll
${MINGW_BIN}/tk[0-9]*.dll
${MINGW_BIN}/zlib1.dll)
- INSTALL(FILES ${MINGW_LIBS} DESTINATION .)
+ INSTALL(FILES ${MINGW_LIBS} DESTINATION bin)
# There are differences for 64-Bit and 32-Bit build environments.
if(HAVE_MINGW64)
install(FILES
${MINGW_BIN}/libgcc_s_seh-1.dll
- DESTINATION .)
+ DESTINATION bin)
else()
install(FILES
${MINGW_BIN}/libgcc_s_dw2-1.dll
- DESTINATION .)
+ DESTINATION bin)
endif()
# Install hicolor/index.theme to avoid bug 1635207
@@ -223,26 +223,26 @@ if(WIN32)
install(FILES
${MINGW_BIN}/gspawn-win64-helper.exe
${MINGW_BIN}/gspawn-win64-helper-console.exe
- DESTINATION .)
+ DESTINATION bin)
else()
install(FILES
${MINGW_BIN}/gspawn-win32-helper.exe
${MINGW_BIN}/gspawn-win32-helper-console.exe
- DESTINATION .)
+ DESTINATION bin)
endif()
# Python (a bit hacky for backwards compatibility with devlibs at this point)
install(FILES
${MINGW_BIN}/python2.exe
RENAME python.exe
- DESTINATION .)
+ DESTINATION bin)
install(FILES
${MINGW_BIN}/python2w.exe
RENAME pythonw.exe
- DESTINATION .)
+ DESTINATION bin)
install(FILES
${MINGW_BIN}/libpython2.7.dll
- DESTINATION .)
+ DESTINATION bin)
install(DIRECTORY ${MINGW_LIB}/python2.7
DESTINATION lib
PATTERN "python2.7/site-packages" EXCLUDE # specify individual packages to install below