blob: c15e2076add41a7f453ae93be88652bdb294c0d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
--- CMakeLists.txt.orig 2020-03-19 23:24:52 UTC
+++ CMakeLists.txt
@@ -81,24 +81,28 @@ set_package_properties("libssh" PROPERTIES
PURPOSE "Needed to build VNC+SSH tunnel support "
)
-# Needs porting
-find_program(FREERDP_EXECUTABLE xfreerdp)
-if(FREERDP_EXECUTABLE)
- set(FREERDP_FOUND true) # mark the package found
- set(FREERDP_EXECUTABLE_FOUND true)
-endif(FREERDP_EXECUTABLE)
+option(WITH_FREERDP OFF)
+if (WITH_FREERDP)
+ # Needs porting
+ find_program(FREERDP_EXECUTABLE xfreerdp)
+ if(FREERDP_EXECUTABLE)
+ set(FREERDP_FOUND true) # mark the package found
+ set(FREERDP_EXECUTABLE_FOUND true)
+ endif(FREERDP_EXECUTABLE)
-# dud to allow the dep showing up in feature summary.
-# note that this must be after _FOUND is set so it doesn't incorrectly
-# set the metadata to not-found.
-find_package(freerdp QUIET)
+ # dud to allow the dep showing up in feature summary.
+ # note that this must be after _FOUND is set so it doesn't incorrectly
+ # set the metadata to not-found.
+ find_package(freerdp QUIET)
-set_package_properties(freerdp PROPERTIES
- DESCRIPTION "A free Remote Desktop Protocol (RDP) Implementation"
- URL "https://www.freerdp.com/"
- PURPOSE "The xfreerdp binary is needed for RDP support in KRDC (at runtime)"
- TYPE RUNTIME
-)
+ set_package_properties(freerdp PROPERTIES
+ DESCRIPTION "A free Remote Desktop Protocol (RDP) Implementation"
+ URL "https://www.freerdp.com/"
+ PURPOSE "The xfreerdp binary is needed for RDP support in KRDC (at runtime)"
+ TYPE RUNTIME
+ )
+endif()
+
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
|