more on installer
This commit is contained in:
parent
beb892765b
commit
8097abdc84
1 changed files with 6 additions and 1 deletions
|
@ -31,7 +31,6 @@ endif()
|
|||
|
||||
|
||||
# CPack
|
||||
INCLUDE(InstallRequiredSystemLibraries)
|
||||
|
||||
set(CPACK_PACKAGE_EXECUTABLES "kima2" "KIMA2")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Ein kleines Kassenprogramm für Kindersachenmärkte")
|
||||
|
@ -56,5 +55,11 @@ else(WIN32 AND NOT UNIX)
|
|||
set(CPACK_SOURCE_STRIP_FILES "")
|
||||
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 )
|
||||
endif( MINGW )
|
||||
|
||||
include(InstallRequiredSystemLibraries)
|
||||
include(CPack)
|
Loading…
Reference in a new issue