toxcore/other/CMakeLists.txt

19 lines
425 B
CMake
Raw Normal View History

2013-07-22 08:43:05 +08:00
cmake_minimum_required(VERSION 2.6.0)
cmake_policy(SET CMP0011 NEW)
2013-07-18 06:06:05 +08:00
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_bootstrap.cmake)
if(WIN32)
file(MAKE_DIRECTORY %appdata%/.tox)
file(INSTALL DHTservers DESTINATION %appdata%/.tox)
else()
set(HOME "$ENV{HOME}")
file(MAKE_DIRECTORY ${HOME}/.tox)
file(INSTALL DHTservers DESTINATION ${HOME}/.tox)
endif()
if(LINUX)
add_subdirectory(bootstrap_serverdaemon)
endif()