1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
audacity/images/CMakeLists.txt
Edgar 641b293dde 🐛 Fixed missing files when packaging with ninja on windows
Signed-off-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-07-20 06:08:23 -05:00

30 lines
806 B
CMake
Executable File

set( TARGET images )
set( TARGET_ROOT ${topdir}/images )
message( STATUS "========== Configuring ${TARGET} ==========" )
def_vars()
# This isn't really a target...
list( APPEND PIXMAPS
${_SRCDIR}/gnome-mime-application-x-tenacity-project.xpm
${_SRCDIR}/icons/16x16/audacity16.xpm
${_SRCDIR}/icons/32x32/audacity32.xpm
${_SRCDIR}/icons/48x48/audacity.xpm
)
if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" )
if( NOT WIN32)
install( FILES "${_SRCDIR}/audacity.svg"
DESTINATION "${_DATADIR}/icons/hicolor/scalable/apps" )
install( DIRECTORY "${_SRCDIR}/icons/"
DESTINATION "${_DATADIR}/icons/hicolor"
FILES_MATCHING PATTERN "*.png" )
install( FILES ${PIXMAPS}
DESTINATION "${_DATADIR}/pixmaps" )
endif()
endif()