summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
Diffstat (limited to 'other')
-rw-r--r--other/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/other/CMakeLists.txt b/other/CMakeLists.txt
index 22867773..10e5b051 100644
--- a/other/CMakeLists.txt
+++ b/other/CMakeLists.txt
@@ -1,12 +1,13 @@
1cmake_minimum_required(VERSION 2.6.0) 1cmake_minimum_required(VERSION 2.6.0)
2 2
3cmake_policy(SET CMP0011 NEW) 3cmake_policy(SET CMP0011 NEW)
4SET(USER_NAME $ENV{USERNAME} CACHE STRING UserName)
4 5
5include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_bootstrap.cmake) 6include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_bootstrap.cmake)
6 7
7if(WIN32) 8if(WIN32)
8 file(MAKE_DIRECTORY %appdata%/.tox) 9 file(MAKE_DIRECTORY "C:/Users/${USER_NAME}/AppData/Roaming/.tox")
9 file(INSTALL DHTservers DESTINATION %appdata%/.tox) 10 file(INSTALL DHTservers DESTINATION "C:/Users/${USER_NAME}/AppData/Roaming/.tox")
10else() 11else()
11 set(HOME "$ENV{HOME}") 12 set(HOME "$ENV{HOME}")
12 if(APPLE) 13 if(APPLE)