diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-10-17 13:55:05 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-10-17 13:55:05 +0200 |
commit | b27c1b240e45ceb02f8587e72b650bbeededf546 (patch) | |
tree | 31fa8b8845b2d67a0e41ef4d24b26faf052207dd /vncviewer/CMakeLists.txt | |
parent | 428de117942586bd1bde740c070a8ce6b3ae23e0 (diff) | |
download | tigervnc-b27c1b240e45ceb02f8587e72b650bbeededf546.tar.gz tigervnc-b27c1b240e45ceb02f8587e72b650bbeededf546.zip |
Add Carbon and Cocoa dependencies to vncviewer
We use both frameworks directly from vncviewer so we should
make sure they get pulled in.
Diffstat (limited to 'vncviewer/CMakeLists.txt')
-rw-r--r-- | vncviewer/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt index c6e778f1..de9da8fb 100644 --- a/vncviewer/CMakeLists.txt +++ b/vncviewer/CMakeLists.txt @@ -48,6 +48,10 @@ endif() target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES}) +if(APPLE) + target_link_libraries(vncviewer "-framework Cocoa" "-framework Carbon") +endif() + install(TARGETS vncviewer DESTINATION ${BIN_DIR}) if(UNIX) install(FILES vncviewer.man DESTINATION ${MAN_DIR}/man1 RENAME vncviewer.1) |