Skip to content

Commit 28b8b9a

Browse files
committed
Merge branch 'master' into multicastvnc
2 parents dc58c16 + 2935d1f commit 28b8b9a

3 files changed

Lines changed: 12 additions & 17 deletions

File tree

.travis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: c
2-
dist: trusty
2+
dist: xenial
33
sudo: required
44

55
os:
@@ -10,14 +10,6 @@ compiler:
1010
- gcc
1111
- clang
1212

13-
before_install:
14-
- |
15-
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
16-
CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
17-
mkdir -p ${TRAVIS_BUILD_DIR}/deps/cmake && travis_retry wget --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C ${TRAVIS_BUILD_DIR}/deps/cmake
18-
export PATH=${TRAVIS_BUILD_DIR}/deps/cmake/bin:${PATH}
19-
fi
20-
2113
# Build steps
2214
script:
2315
- mkdir build

CMakeLists.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
3535
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/libvncserver ${CMAKE_CURRENT_SOURCE_DIR}/common)
3636

3737
# all the build configuration switches
38+
option(LIBVNCSERVER_INSTALL "Generate installation target" ON)
3839
option(BUILD_SHARED_LIBS "Build shared libraries" ${UNIX})
3940
option(WITH_ZLIB "Search for the zlib compression library to support additional encodings" ON)
4041
option(WITH_LZO "Search for the LZO compression library to omit internal miniLZO implementation" ON)
@@ -671,19 +672,20 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libvncserver.pc.cmakein ${CMAKE_CURRE
671672
get_link_libraries(PRIVATE_LIBS vncclient)
672673
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libvncclient.pc.cmakein ${CMAKE_CURRENT_BINARY_DIR}/libvncclient.pc @ONLY)
673674

674-
675-
install_targets(/${CMAKE_INSTALL_LIBDIR} vncserver)
676-
install_targets(/${CMAKE_INSTALL_LIBDIR} vncclient)
677-
install_files(/include/rfb FILES
675+
if(LIBVNCSERVER_INSTALL)
676+
install_targets(/${CMAKE_INSTALL_LIBDIR} vncserver)
677+
install_targets(/${CMAKE_INSTALL_LIBDIR} vncclient)
678+
install_files(/include/rfb FILES
678679
rfb/keysym.h
679680
rfb/rfb.h
680681
rfb/rfbclient.h
681682
rfb/rfbconfig.h
682683
rfb/rfbproto.h
683684
rfb/rfbregion.h
684-
)
685+
)
685686

686-
install_files(/${CMAKE_INSTALL_LIBDIR}/pkgconfig FILES
687+
install_files(/${CMAKE_INSTALL_LIBDIR}/pkgconfig FILES
687688
libvncserver.pc
688689
libvncclient.pc
689-
)
690+
)
691+
endif()

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,5 +484,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.dfdf
484484
Contact
485485
=======
486486

487-
To contact me, mail me: Johannes dot Schindelin at gmx dot de
487+
* To file an issue, go to https://github.com/LibVNC/libvncserver/issues
488+
* For non-public contact mail dontmind at sdf dot org
488489

0 commit comments

Comments
 (0)