From 93af3d1447c461e9cd46ad840a8c1a2ad148413b Mon Sep 17 00:00:00 2001 From: casey langen Date: Fri, 28 Jul 2017 16:42:08 -0700 Subject: [PATCH] Added new NO_NCURSESW CMake (not C++) definition. Will use this to help debug build issues on Arch variants. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea99b183e..54e022a10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin") include_directories("/usr/local/include") endif () -if (EXISTS "/etc/arch-release") +if (EXISTS "/etc/arch-release" OR NO_NCURSESW) add_definitions (-DNO_NCURSESW) endif()