1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 15:19:44 +02:00

Synchronize CMake install target with original

This commit is contained in:
Leland Lucius 2020-04-24 23:59:11 -05:00
parent 2b24220315
commit 06c36f7fe6
4 changed files with 9 additions and 3 deletions

View File

@ -162,7 +162,7 @@ macro( bld name packages define sources )
set_target_properties( ${name}
PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${_LIBDIR}"
LIBRARY_OUTPUT_DIRECTORY "${_DESTDIR}/${_LIBDIR}"
PREFIX ""
)

View File

@ -19,7 +19,8 @@ if( NOT "${CMAKE_GENERATOR}" MATCHES "Xcode|Visual Studio*" )
install( FILES "${_SRCDIR}/audacity.svg"
DESTINATION "${_DATADIR}/icons/hicolor/scalable/apps" )
install( DIRECTORY "${_SRCDIR}/icons/"
DESTINATION "${_DATADIR}/icons/hicolor" )
DESTINATION "${_DATADIR}/icons/hicolor"
FILES_MATCHING PATTERN "*.png" )
install( FILES ${PIXMAPS}
DESTINATION "${_DATADIR}/pixmaps" )
endif()

View File

@ -18,6 +18,7 @@ list( APPEND RUNTIME
nyinit-dbg.lsp
nyinit.lsp
nyqmisc.lsp
nyquist-plot.txt
nyquist.lsp
printrec.lsp
profile.lsp

View File

@ -1372,10 +1372,14 @@ if( NOT "${CMAKE_GENERATOR}" MATCHES "Xcode|Visual Studio*" )
else()
install( PROGRAMS "${_EXEDIR}/${AUDACITY_NAME}"
TYPE BIN )
install( DIRECTORY "${_DESTDIR}/${_LIBDIR}/"
DESTINATION "${_LIBDIR}"
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN "*.so" )
install( FILES "${_INTDIR}/audacity.desktop"
DESTINATION "${_DATADIR}/applications" )
install( FILES "${topdir}/LICENSE.txt" "${topdir}/README.txt"
DESTINATION "${_DATADIR}/doc" )
DESTINATION "${_DATADIR}/doc/${AUDACITY_NAME}" )
install( FILES "${_SRCDIR}/audacity.xml"
DESTINATION "${_DATADIR}/mime/packages" )
install( FILES "${topdir}/presets/EQDefaultCurves.xml"