mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Curses check is now only on *nix
This commit is contained in:
parent
a85fce5c03
commit
5ea6b58ec4
|
@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6.0)
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
find_package(Curses REQUIRED)
|
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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user