summaryrefslogtreecommitdiffstats
path: root/win/vncconfig/CMakeLists.txt
blob: 9883dbd8e2221cc6cbf0aa6ca1779c507d9b8517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include_directories(${CMAKE_BINARY_DIR}/win)

# Disable auto-generated manifests, since we have our own
if(MSVC)
  set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
endif()

add_executable(vncconfig WIN32
  Legacy.cxx
  PasswordDialog.cxx
  vncconfig.cxx
  vncconfig.rc)

target_link_libraries(vncconfig rfb_win32 rfb Xregion network rdr ws2_32.lib)

install(TARGETS vncconfig
  RUNTIME DESTINATION .
)