From fb1627a696a3bbd47440db8c08246a341048102a Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Sun, 17 Jul 2016 20:25:13 -0600 Subject: [PATCH] Install manpages and XDG files on OpenBSD and FreeBSD. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea38a0e050..91e4dbc89e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -999,10 +999,10 @@ add_subdirectory(Source) if(NOT APPLE) install(DIRECTORY Data/Sys/ DESTINATION ${datadir}/sys PATTERN) endif() -if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|Darwin") +if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|Darwin") install(FILES Data/license.txt DESTINATION ${datadir}) endif() -if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") +if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD") # Install the application icon and menu item install(FILES Data/dolphin-emu.svg DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)