Merge pull request #2304 from linkmauve/xdg-basedir

UICommon: Respect XDG Base Directory Specification on POSIX systems
This commit is contained in:
Markus Wick
2015-11-12 12:31:24 +01:00
4 changed files with 56 additions and 12 deletions
-2
View File
@@ -76,8 +76,6 @@ else()
set(datadir ${CMAKE_INSTALL_PREFIX}/share/dolphin-emu CACHE PATH "datadir")
add_definitions(-DDATA_DIR="${datadir}/")
endif()
set(userdir ".dolphin-emu" CACHE STRING "User directory")
add_definitions(-DUSER_DIR="${userdir}")
# Set where the binary files will be built. The program will not execute from
# here. You must run "make install" to install these to the proper location