mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #282 from bakwc/master
Curses dependence added to CMake
This commit is contained in:
commit
c01b87ef2b
|
@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 2.6.0)
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
|
if(UNIX)
|
||||||
|
find_package(Curses REQUIRED)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
option(USE_NACL "Use NaCl library instead of libsodium")
|
option(USE_NACL "Use NaCl library instead of libsodium")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user