aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CMakeLists.txt
blob: b4f888e1bfcd3511d60818cd824808c9cb77cb0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include_directories(${FLTK_INCLUDE_DIR})

include_directories(${CMAKE_SOURCE_DIR}/common)
set(VNCVIEWER_SOURCES
  CConn.cxx
  DesktopWindow.cxx
  UserDialog.cxx
  Viewport.cxx
  parameters.cxx
  keysym2ucs.c
  vncviewer.cxx)

if(APPLE)
  set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} osx_utils.m)
endif()

add_executable(vncviewer ${VNCVIEWER_SOURCES})

target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES})

install (TARGETS vncviewer DESTINATION bin)