┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2019-01-28 22:38:21 +0100
committerElvis Angelaccio <[email protected]>2019-01-28 22:38:21 +0100
commit8bc93b564c283a677e02dc2ac71b40b63a990e38 (patch)
treeb0838ad5e265d42dd5da7f8ff58532aac95daca4 /CMakeLists.txt
parent52c019c9cbf679af5c24438bbe840ef890ae3f92 (diff)
Introduce HAVE_TERMINAL
Source code should check for features detected during configure-time, rather than checking for a specific OS. See also commit 87e8d0ba5f.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
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)