UICommon: Respect XDG Base Directory Specification on POSIX systems.

This commit is contained in:
Emmanuel Gil Peyrot
2015-11-10 21:53:29 +00:00
parent 491e149545
commit e20b08491c
3 changed files with 43 additions and 10 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