From f3c2026d5be5c64655386bb1d1592eb250830ea1 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 4 Jul 2014 11:34:02 +0200 Subject: [PATCH] librfb needs librdr so make sure it always gets pulled in --- common/rfb/CMakeLists.txt | 2 +- unix/vncpasswd/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt index 27e3caa5..c2df95ad 100644 --- a/common/rfb/CMakeLists.txt +++ b/common/rfb/CMakeLists.txt @@ -72,7 +72,7 @@ if(WIN32) set(RFB_SOURCES ${RFB_SOURCES} WinPasswdValidator.cxx) endif(WIN32) -set(RFB_LIBRARIES ${JPEG_LIBRARIES} os) +set(RFB_LIBRARIES ${JPEG_LIBRARIES} os rdr) if(HAVE_PAM) set(RFB_SOURCES ${RFB_SOURCES} UnixPasswordValidator.cxx diff --git a/unix/vncpasswd/CMakeLists.txt b/unix/vncpasswd/CMakeLists.txt index d1425af9..a04ed0b9 100644 --- a/unix/vncpasswd/CMakeLists.txt +++ b/unix/vncpasswd/CMakeLists.txt @@ -3,7 +3,7 @@ include_directories(${CMAKE_SOURCE_DIR}/common) add_executable(vncpasswd vncpasswd.cxx) -target_link_libraries(vncpasswd tx rfb rdr os) +target_link_libraries(vncpasswd tx rfb os) install(TARGETS vncpasswd DESTINATION ${BIN_DIR}) install(FILES vncpasswd.man DESTINATION ${MAN_DIR}/man1 RENAME vncpasswd.1) -- 2.39.5