aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/CMakeLists.txt
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-09-01 10:45:54 +0200
committerPierre Ossman <ossman@cendio.se>2022-09-01 14:35:39 +0200
commit4b12f80cf453d3ff2df27f5a282d0dd57c99feaa (patch)
tree496d49ee7e9503b61c74cc1fd2a5fc1c56067a3e /common/rdr/CMakeLists.txt
parent54ebb9e5b0b76b49c36c35e369d995bb327ae6f0 (diff)
downloadtigervnc-4b12f80cf453d3ff2df27f5a282d0dd57c99feaa.tar.gz
tigervnc-4b12f80cf453d3ff2df27f5a282d0dd57c99feaa.zip
Fix incorrect nettle library references
Diffstat (limited to 'common/rdr/CMakeLists.txt')
-rw-r--r--common/rdr/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt
index 96ffe163..7f642b48 100644
--- a/common/rdr/CMakeLists.txt
+++ b/common/rdr/CMakeLists.txt
@@ -27,7 +27,8 @@ if(GNUTLS_FOUND)
endif()
if (NETTLE_FOUND)
include_directories(${NETTLE_INCLUDE_DIRS})
- target_link_libraries(rdr ${NETTLE_LINK_LIBRARIES})
+ target_link_libraries(rdr ${NETTLE_LIBRARIES})
+ target_link_directories(rdr PUBLIC ${NETTLE_LIBRARY_DIRS})
endif()
if(WIN32)
target_link_libraries(rdr ws2_32)