Skip to content

Commit f36dd86

Browse files
committed
build: remove macOS server example
This was split off LibVNCServer and now resides in https://github.com/LibVNC/macVNC
1 parent de7e92b commit f36dd86

2 files changed

Lines changed: 2 additions & 738 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -585,16 +585,6 @@ if(WITH_THREADS AND WITH_TIGHTVNC_FILETRANSFER AND CMAKE_USE_PTHREADS_INIT)
585585
)
586586
endif(WITH_THREADS AND WITH_TIGHTVNC_FILETRANSFER AND CMAKE_USE_PTHREADS_INIT)
587587

588-
if(APPLE AND NOT IOS AND WITH_THREADS AND CMAKE_USE_PTHREADS_INIT)
589-
set(LIBVNCSERVER_EXAMPLES
590-
${LIBVNCSERVER_EXAMPLES}
591-
mac
592-
)
593-
find_library(CARBON_LIBRARY Carbon)
594-
find_library(IOKIT_LIBRARY IOKit)
595-
find_library(IOSURFACE_LIBRARY IOSurface)
596-
endif(APPLE AND NOT IOS AND WITH_THREADS AND CMAKE_USE_PTHREADS_INIT)
597-
598588
if(ANDROID)
599589
set(LIBVNCSERVER_EXAMPLES
600590
${LIBVNCSERVER_EXAMPLES}
@@ -657,7 +647,7 @@ if(WITH_EXAMPLES)
657647
add_executable(examples_${e} ${LIBVNCSRVEXAMPLE_DIR}/${e}.c)
658648
set_target_properties(examples_${e} PROPERTIES OUTPUT_NAME ${e})
659649
set_target_properties(examples_${e} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/examples/server)
660-
target_link_libraries(examples_${e} vncserver ${CMAKE_THREAD_LIBS_INIT} ${CARBON_LIBRARY} ${IOKIT_LIBRARY} ${IOSURFACE_LIBRARY} ${X11_xcb_LIB} ${X11_xcb_xtest_LIB} ${X11_xcb_keysyms_LIB})
650+
target_link_libraries(examples_${e} vncserver ${CMAKE_THREAD_LIBS_INIT} ${X11_xcb_LIB} ${X11_xcb_xtest_LIB} ${X11_xcb_keysyms_LIB})
661651
endforeach(e ${LIBVNCSERVER_EXAMPLES})
662652

663653
foreach(e ${LIBVNCCLIENT_EXAMPLES})
@@ -677,7 +667,7 @@ if(WITH_TESTS)
677667
# First fuzzing
678668
if(DEFINED ENV{LIB_FUZZING_ENGINE})
679669
add_executable(fuzz_server ${TESTS_DIR}/fuzz_server.c)
680-
target_link_libraries(fuzz_server vncserver ${CMAKE_THREAD_LIBS_INIT} ${CARBON_LIBRARY} ${IOKIT_LIBRARY} ${IOSURFACE_LIBRARY} $ENV{LIB_FUZZING_ENGINE})
670+
target_link_libraries(fuzz_server vncserver ${CMAKE_THREAD_LIBS_INIT} $ENV{LIB_FUZZING_ENGINE})
681671
endif()
682672

683673
if(UNIX)

0 commit comments

Comments
 (0)