more on installer

This commit is contained in:
Martin Brodbeck 2018-08-07 13:29:56 +02:00
parent 8097abdc84
commit 98e492cc61

View file

@ -58,7 +58,33 @@ endif (WIN32 AND NOT UNIX)
if( MINGW )
message( STATUS " Installing system-libraries: MinGW DLLs." )
get_filename_component( MINGW_PATH ${CMAKE_CXX_COMPILER} PATH )
set( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS ${MINGW_PATH}/mingwm10.dll ${MINGW_PATH}/libgcc_s_dw2-1.dll ${MINGW_PATH}/libstdc++-6.dll )
set( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS
${MINGW_PATH}/libstdc++-6.dll
${MINGW_PATH}/libgcc_s_seh-1.dll
${MINGW_PATH}/Qt5Core.dll
${MINGW_PATH}/Qt5Gui.dll
${MINGW_PATH}/Qt5Widgets.dll
${MINGW_PATH}/Qt5PrintSupport.dll
${MINGW_PATH}/libwinpthread-1.dll
${MINGW_PATH}/libsqlite3-0.dll
${MINGW_PATH}/libusb-1.0.dll
${MINGW_PATH}/libxlnt.dll
${MINGW_PATH}/libicuuc61.dll
${MINGW_PATH}/libicuin61.dll
${MINGW_PATH}/libicudt61.dll
${MINGW_PATH}/libjsoncpp-20.dll
${MINGW_PATH}/libpcre2-16-0.dll
${MINGW_PATH}/zlib1.dll
${MINGW_PATH}/libharfbuzz-0.dll
${MINGW_PATH}/libpng16-16.dll
${MINGW_PATH}/libfreetype-6.dll
${MINGW_PATH}/libglib-2.0-0.dl
${MINGW_PATH}/libgraphite2.dll
${MINGW_PATH}/libbz2-1.dll
${MINGW_PATH}/libintl-8.dll
${MINGW_PATH}/libpcre-1.dll
${MINGW_PATH}/libiconv-2.dll
)
endif( MINGW )
include(InstallRequiredSystemLibraries)