diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-18 17:08:35 -0700 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-18 17:08:35 -0700 |
commit | b8bf05250c8ed0de4b555963df5f7ef3887aa1dd (patch) | |
tree | a51a9cbde5f7c77a60eb82b1d18d7a7eae3ebcfe /other/CMakeLists.txt | |
parent | 783a24a0c42754823ebf0d9056818f25efaa87f3 (diff) | |
parent | e8b8dfebb3fce4a7e2dc6cb362351dd0a21c2af4 (diff) |
Merge pull request #491 from loadletter/master
Store data and DHTservers in .config/tox
Diffstat (limited to 'other/CMakeLists.txt')
-rw-r--r-- | other/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/other/CMakeLists.txt b/other/CMakeLists.txt index eaf677ed..871a9e92 100644 --- a/other/CMakeLists.txt +++ b/other/CMakeLists.txt | |||
@@ -6,16 +6,16 @@ SET(USER_NAME $ENV{USERNAME} CACHE STRING UserName) | |||
6 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_bootstrap.cmake) | 6 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_bootstrap.cmake) |
7 | 7 | ||
8 | if(WIN32) | 8 | if(WIN32) |
9 | file(MAKE_DIRECTORY "C:/Users/${USER_NAME}/AppData/Roaming/.tox") | 9 | file(MAKE_DIRECTORY "C:/Users/${USER_NAME}/AppData/Roaming/.config/tox") |
10 | file(INSTALL DHTservers DESTINATION "C:/Users/${USER_NAME}/AppData/Roaming/.tox") | 10 | file(INSTALL DHTservers DESTINATION "C:/Users/${USER_NAME}/AppData/Roaming/.config/tox") |
11 | else() | 11 | else() |
12 | set(HOME "$ENV{HOME}") | 12 | set(HOME "$ENV{HOME}") |
13 | if(APPLE) | 13 | if(APPLE) |
14 | file(MAKE_DIRECTORY ${HOME}/Library/Application\ Support/.tox) | 14 | file(MAKE_DIRECTORY ${HOME}/Library/Application\ Support/.config/tox) |
15 | file(INSTALL DHTservers DESTINATION ${HOME}/Library/Application\ Support/.tox) | 15 | file(INSTALL DHTservers DESTINATION ${HOME}/Library/Application\ Support/.config/tox) |
16 | else() | 16 | else() |
17 | file(MAKE_DIRECTORY ${HOME}/.tox) | 17 | file(MAKE_DIRECTORY ${HOME}/.config/tox) |
18 | file(INSTALL DHTservers DESTINATION ${HOME}/.tox) | 18 | file(INSTALL DHTservers DESTINATION ${HOME}/.config/tox) |
19 | endif() | 19 | endif() |
20 | endif() | 20 | endif() |
21 | 21 | ||