From Nico Kruithof, "For the VNC server, it seems that the wrong include path is used.

Instead of 
INCLUDE_DIRECTORIES(${LIBVNCCLIENT_INCLUDE_DIR})
the CMake variable 
INCLUDE_DIRECTORIES(${LIBVNCSERVER_INCLUDE_DIR})
should be used.

Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt"
This commit is contained in:
Robert Osfield
2013-05-22 13:09:38 +00:00
parent 1284a0dd40
commit b72faed804

View File

@@ -1,6 +1,6 @@
SET(TARGET_SRC ReaderWriterVNC.cpp )
INCLUDE_DIRECTORIES(${LIBVNCCLIENT_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${LIBVNCSERVER_INCLUDE_DIR})
SET(TARGET_EXTERNAL_LIBRARIES
${LIBVNCCLIENT_LIBRARY}