From a85fce5c034d70c1a4926fd49368d2374320276e Mon Sep 17 00:00:00 2001 From: Filipp Ozinov Date: Sat, 3 Aug 2013 09:17:44 +0400 Subject: [PATCH 1/2] Curses dependence added to CMake --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf709e72..db1a426c 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 2.6.0) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) +find_package(Curses REQUIRED) + if(NOT WIN32) option(USE_NACL "Use NaCl library instead of libsodium") endif() From 5ea6b58ec4ee9874d7190dc714d505cca48603c0 Mon Sep 17 00:00:00 2001 From: Filipp Ozinov Date: Sat, 3 Aug 2013 11:08:21 +0400 Subject: [PATCH 2/2] Curses check is now only on *nix --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db1a426c..ed934c01 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6.0) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) -find_package(Curses REQUIRED) +if(UNIX) + find_package(Curses REQUIRED) +endif() if(NOT WIN32) option(USE_NACL "Use NaCl library instead of libsodium")