diff options
author | Adam Tkac <atkac@redhat.com> | 2011-01-19 14:20:34 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2011-01-19 14:20:34 +0000 |
commit | 125bd259b9eda1270f2fb85b0caded5b8780fe37 (patch) | |
tree | 582c530527dd6d6fdf86abdf6d35e812fc4f021f /common/rdr/CMakeLists.txt | |
parent | 179d2b14ecf33058c1bc733cfef5854744809fcc (diff) | |
download | tigervnc-125bd259b9eda1270f2fb85b0caded5b8780fe37.tar.gz tigervnc-125bd259b9eda1270f2fb85b0caded5b8780fe37.zip |
[Development] Add possibility to build Windows programs with GNUTLS via cmake.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4241 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rdr/CMakeLists.txt')
-rw-r--r-- | common/rdr/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt index 2872fd71..8be9679e 100644 --- a/common/rdr/CMakeLists.txt +++ b/common/rdr/CMakeLists.txt @@ -14,4 +14,9 @@ add_library(rdr STATIC ZlibInStream.cxx ZlibOutStream.cxx) -target_link_libraries(rdr zlib os) +set(RDR_LIBRARIES zlib os) +if(GNUTLS_FOUND) + set(RDR_LIBRARIES ${RDR_LIBRARIES} ${GNUTLS_LIBRARIES}) +endif() + +target_link_libraries(rdr ${RDR_LIBRARIES}) |