From 8bc93b564c283a677e02dc2ac71b40b63a990e38 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Mon, 28 Jan 2019 22:38:21 +0100 Subject: Introduce HAVE_TERMINAL Source code should check for features detected during configure-time, rather than checking for a specific OS. See also commit 87e8d0ba5f. --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f04d7992d..dc877c89c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,13 @@ else() message(WARNING "Baloo packages not found. They are needed for the metadata features of Dolphin (including the information panel).") endif() +# TODO: drop HAVE_TERMINAL once we are sure the terminal panel works on Windows too. +if(WIN32) + set(HAVE_TERMINAL FALSE) +else() + set(HAVE_TERMINAL TRUE) +endif() + add_subdirectory(src) add_subdirectory(doc) -- cgit v1.3.1