1 2 3 4 5 6 7 8 9 10 11 12 13
include_directories(${CMAKE_BINARY_DIR}/win) 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 ${BIN_DIR} )