From: Pierre Ossman Date: Fri, 13 May 2016 13:34:34 +0000 (+0200) Subject: Don't reference Xregion unless used directly X-Git-Tag: v1.6.90~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e7d05c99258fe9968dfff7c77b82328bf6d2d2d;p=tigervnc.git Don't reference Xregion unless used directly --- diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt index f2a0aca0..f11bae3f 100644 --- a/vncviewer/CMakeLists.txt +++ b/vncviewer/CMakeLists.txt @@ -46,7 +46,7 @@ else() add_executable(vncviewer ${VNCVIEWER_SOURCES}) endif() -target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES}) +target_link_libraries(vncviewer rfb network rdr os ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES}) if(APPLE) target_link_libraries(vncviewer "-framework Cocoa" "-framework Carbon") diff --git a/win/vncconfig/CMakeLists.txt b/win/vncconfig/CMakeLists.txt index 54e6643a..6ed22c76 100644 --- a/win/vncconfig/CMakeLists.txt +++ b/win/vncconfig/CMakeLists.txt @@ -6,7 +6,7 @@ add_executable(vncconfig WIN32 vncconfig.cxx vncconfig.rc) -target_link_libraries(vncconfig rfb_win32 rfb Xregion network rdr ws2_32.lib) +target_link_libraries(vncconfig rfb_win32 rfb network rdr ws2_32.lib) install(TARGETS vncconfig RUNTIME DESTINATION ${BIN_DIR} diff --git a/win/winvnc/CMakeLists.txt b/win/winvnc/CMakeLists.txt index 16f30b70..ac9ae298 100644 --- a/win/winvnc/CMakeLists.txt +++ b/win/winvnc/CMakeLists.txt @@ -17,7 +17,7 @@ add_executable(winvnc4 WIN32 winvnc.cxx ${CMAKE_CURRENT_BINARY_DIR}/winvnc.rc) -target_link_libraries(winvnc4 rfb rfb_win32 Xregion network rdr ws2_32.lib) +target_link_libraries(winvnc4 rfb rfb_win32 network rdr ws2_32.lib) if(BUILD_JAVA) set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/winvnc.rc