mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Makes cmake install DHTservers to its new place
This commit is contained in:
parent
1986e6b7f4
commit
86596a6d7f
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user