Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
6b60690a
Commit
6b60690a
authored
Mar 12, 2011
by
Christian Beier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMake: Check for libgcrypt availability.
parent
88792137
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
rfbconfig.h.cmake
rfb/rfbconfig.h.cmake
+3
-0
No files found.
CMakeLists.txt
View file @
6b60690a
...
@@ -19,6 +19,7 @@ find_package(SDL)
...
@@ -19,6 +19,7 @@ find_package(SDL)
find_package
(
GnuTLS
)
find_package
(
GnuTLS
)
find_package
(
Threads
)
find_package
(
Threads
)
find_package
(
X11
)
find_package
(
X11
)
find_library
(
LIBGCRYPT_LIBRARIES gcrypt
)
if
(
Threads_FOUND
)
if
(
Threads_FOUND
)
option
(
TIGHTVNC_FILETRANSFER
"Enable filetransfer"
ON
)
option
(
TIGHTVNC_FILETRANSFER
"Enable filetransfer"
ON
)
...
@@ -33,6 +34,11 @@ option(LIBVNCSERVER_ALLOW24BPP "Allow 24 bpp" ON)
...
@@ -33,6 +34,11 @@ option(LIBVNCSERVER_ALLOW24BPP "Allow 24 bpp" ON)
if
(
GNUTLS_FOUND
)
if
(
GNUTLS_FOUND
)
set
(
LIBVNCSERVER_WITH_CLIENT_TLS 1
)
set
(
LIBVNCSERVER_WITH_CLIENT_TLS 1
)
endif
(
GNUTLS_FOUND
)
endif
(
GNUTLS_FOUND
)
if
(
LIBGCRYPT_LIBRARIES
)
message
(
STATUS
"Found libgcrypt:
${
LIBGCRYPT_LIBRARIES
}
"
)
set
(
LIBVNCSERVER_WITH_CLIENT_GCRYPT 1
)
endif
(
LIBGCRYPT_LIBRARIES
)
check_include_file
(
"fcntl.h"
LIBVNCSERVER_HAVE_FCNTL_H
)
check_include_file
(
"fcntl.h"
LIBVNCSERVER_HAVE_FCNTL_H
)
check_include_file
(
"netinet/in.h"
LIBVNCSERVER_HAVE_NETINET_IN_H
)
check_include_file
(
"netinet/in.h"
LIBVNCSERVER_HAVE_NETINET_IN_H
)
...
...
rfb/rfbconfig.h.cmake
View file @
6b60690a
...
@@ -54,6 +54,9 @@
...
@@ -54,6 +54,9 @@
/* Define to the version of this package. */
/* Define to the version of this package. */
#define LIBVNCSERVER_PACKAGE_VERSION "@PACKAGE_VERSION@"
#define LIBVNCSERVER_PACKAGE_VERSION "@PACKAGE_VERSION@"
/* Define to 1 if libgcrypt is present */
#cmakedefine LIBVNCSERVER_WITH_CLIENT_GCRYPT 1
/* Define to 1 if GnuTLS is present */
/* Define to 1 if GnuTLS is present */
#cmakedefine LIBVNCSERVER_WITH_CLIENT_TLS 1
#cmakedefine LIBVNCSERVER_WITH_CLIENT_TLS 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment