From 8435030e81b9db5997357a1ebdde9cf37664fc7f Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 30 Oct 2008 20:07:47 +0000 Subject: [PATCH] * include all neccessary DLLs in win64 build * fix versioning for CPack if no VERSION_SUFFIX is set git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1817 0778d3d1-df1d-0410-868b-ea421aaaa00d --- CMakeLists.txt | 7 +++++-- ChangeLog | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5204926af..e9d408f2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -432,7 +432,7 @@ IF(LMMS_BUILD_WIN32) INSTALL(TARGETS lmms RUNTIME DESTINATION .) IF(LMMS_BUILD_WIN64) - INSTALL(FILES /opt/mingw64/bin/QtCore4.dll /opt/mingw64/bin/QtGui4.dll /opt/mingw64/bin/QtXml4.dll /opt/mingw64/bin/libz.dll /opt/mingw64/bin/libsndfile-1.dll /opt/mingw64/bin/libfluidsynth-1.dll /opt/mingw64/bin/SDL.dll DESTINATION .) + INSTALL(FILES /opt/mingw64/bin/QtCore4.dll /opt/mingw64/bin/QtGui4.dll /opt/mingw64/bin/QtXml4.dll /opt/mingw64/bin/libsndfile-1.dll /opt/mingw64/bin/libvorbis-0.dll /opt/mingw64/bin/libvorbisenc-2.dll /opt/mingw64/bin/libvorbisfile-3.dll /opt/mingw64/bin/libogg-0.dll /opt/mingw64/bin/libfluidsynth-1.dll /opt/mingw64/bin/libfftw3f-3.dll /opt/mingw64/bin/SDL.dll DESTINATION .) ELSE(LMMS_BUILD_WIN64) INSTALL(FILES /opt/mingw/bin/QtCore4.dll /opt/mingw/bin/QtGui4.dll /opt/mingw/bin/QtXml4.dll /opt/mingw/bin/libz.dll /opt/mingw/bin/libsndfile-1.dll /opt/mingw/bin/libvorbis-0.dll /opt/mingw/bin/libvorbisenc-2.dll /opt/mingw/bin/libvorbisfile-3.dll /opt/mingw/bin/libogg-0.dll /opt/mingw/bin/libfluidsynth-1.dll /opt/mingw/bin/libfftw3f-3.dll /opt/mingw/bin/SDL.dll /opt/mingw/i586-mingw32/bin/mingwm10.dll DESTINATION .) ENDIF(LMMS_BUILD_WIN64) @@ -620,7 +620,10 @@ ENDIF(LMMS_BUILD_APPLE) SET(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}") SET(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}") -SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}-${VERSION_SUFFIX}") +SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}") +IF(VERSION_SUFFIX) + SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}-${VERSION_SUFFIX}") +ENDIF(VERSION_SUFFIX) SET(CPACK_PACKAGE_INSTALL_DIRECTORY "LMMS-${VERSION}") IF(WIN32) SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/data\\\\nsis_branding.bmp") diff --git a/ChangeLog b/ChangeLog index 77e929898..da68e8904 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-10-30 Tobias Doerffel + * CMakeLists.txt: + - include all neccessary DLLs in win64 build + - fix versioning for CPack if no VERSION_SUFFIX is set + * plugins/sid/sid_instrument.cpp: * plugins/papu/papu_instrument.cpp: * include/clipboard.h: