diff --git a/other/CMakeLists.txt b/other/CMakeLists.txt index db742e3e..3add1afc 100644 --- a/other/CMakeLists.txt +++ b/other/CMakeLists.txt @@ -4,6 +4,14 @@ cmake_policy(SET CMP0011 NEW) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_bootstrap.cmake) +if(WIN32) +#Setup standard file locations for windows +else() + set(HOME "$ENV{HOME}") + file(MAKE_DIRECTORY ${HOME}/.tox) + file(INSTALL DHTservers DESTINATION ${HOME}/.tox) +endif() + if(LINUX) add_subdirectory(bootstrap_serverdaemon) endif()