You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 754B

1234567891011121314151617181920212223242526272829303132
  1. include_directories(${FLTK_INCLUDE_DIR})
  2. include_directories(${GETTEXT_INCLUDE_DIR})
  3. include_directories(${CMAKE_SOURCE_DIR}/common)
  4. set(VNCVIEWER_SOURCES
  5. CConn.cxx
  6. DesktopWindow.cxx
  7. UserDialog.cxx
  8. ServerDialog.cxx
  9. OptionsDialog.cxx
  10. Viewport.cxx
  11. parameters.cxx
  12. keysym2ucs.c
  13. vncviewer.cxx)
  14. if(WIN32)
  15. set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} win32.c)
  16. endif()
  17. if(APPLE)
  18. set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} cocoa.mm)
  19. endif()
  20. if((NOT APPLE) AND (NOT WIN32))
  21. set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} X11PixelBuffer.cxx)
  22. endif()
  23. add_executable(vncviewer ${VNCVIEWER_SOURCES})
  24. target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES})
  25. install (TARGETS vncviewer DESTINATION bin)