DolphinWX: Update how localization files are installed

On macOS, we want them copied in the bundle directly, otherwise we will
install them later in the system folder.
Obviously not working for Windows, but that's not any different from before!
This commit is contained in:
Florent Castelli
2017-02-02 03:51:32 +01:00
parent df91ebe513
commit 0f9a6697fb
2 changed files with 34 additions and 45 deletions
-3
View File
@@ -1002,9 +1002,6 @@ add_subdirectory(Source)
########################################
# Install shared data files
#
if(NOT APPLE)
install(DIRECTORY Data/Sys/ DESTINATION ${datadir}/sys PATTERN)
endif()
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|Darwin")
install(FILES Data/license.txt DESTINATION ${datadir})
endif()