]> source.dussan.org Git - tigervnc.git/commitdiff
Don't reference Xregion unless used directly
authorPierre Ossman <ossman@cendio.se>
Fri, 13 May 2016 13:34:34 +0000 (15:34 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 13 May 2016 13:34:34 +0000 (15:34 +0200)
vncviewer/CMakeLists.txt
win/vncconfig/CMakeLists.txt
win/winvnc/CMakeLists.txt

index f2a0aca01dd9c40335411bf81413a1a688403fd8..f11bae3fbefa12a6902fe0c753a0f7d33912b3ff 100644 (file)
@@ -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")
index 54e6643ad3b3a6896a3702e681dddcb446cc36dd..6ed22c762405a5909c9f8ac94f24c9733dcb63d9 100644 (file)
@@ -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}
index 16f30b70dd8bb62f052fb5d14ad32d388855ef22..ac9ae29896d6701720f95e638dbf10f905d0e69b 100644 (file)
@@ -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