From adea8f719ed528ab3061c9423bd1c69fcdac0724 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Mon, 14 Jan 2019 18:58:24 -0800 Subject: [PATCH] For the love of god, please --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 376e779..5f94163 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,9 @@ set(CMAKE_CXX_EXTENSIONS OFF) find_package(Curses REQUIRED) find_library(TINFO_LIBRARY tinfo) +if(NOT TINFO_LIBRARY) + set(TINFO_LIBRARY "") +endif() set(INCLUDE_PATH ${CMAKE_SOURCE_DIR}/include) add_executable (roflcat src/roflcat.cpp src/cmd.cpp)