Add missing include/link directories

In an environment where not everything is in /usr...

- drkonqi/CMakeLists.txt requires the libr library path to be specified.

- nsplugins/viewer/CMakeLists.txt requires the glib library path to be specified.

- tdm/backend/CMakeLists.txt was missing the include and link directories for libXau and libXDMCP.

- twin/compton-tde/CMakeLists.txt was missing include and link directories for the optionally selected libraries (libconfig, Xinerama, XRandR, OpenGL and PCRE).

Signed-off-by: aneejit1 <aneejit1@gmail.com>
pull/156/head
aneejit1 4 years ago
parent 7fba97e18a
commit 036992eec5

@ -23,6 +23,7 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
${LIBR_LIBRARY_DIRS}
)

@ -20,6 +20,7 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
${GLIB2_LIBRARY_DIRS}
)

@ -16,10 +16,14 @@ include_directories(
${CMAKE_BINARY_DIR}
${DBUS_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/tdm/kfrontend
${XAU_INCLUDE_DIRS}
${XDMCP_INCLUDE_DIRS}
)
link_directories(
${DBUS_LIBRARY_DIRS}
${XAU_LIBRARY_DIRS}
${XDMCP_LIBRARY_DIRS}
)
##### tdm (executable) ##########################

@ -20,6 +20,20 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${DBUS_INCLUDE_DIRS}
${LIBCONFIG_INCLUDE_DIRS}
${XINERAMA_INCLUDE_DIRS}
${XRANDR_INCLUDE_DIRS}
${GL_INCLUDE_DIRS}
${LIBPCRE_INCLUDE_DIRS}
)
link_directories(
${DBUS_LIBRARY_DIRS}
${LIBCONFIG_LIBRARY_DIRS}
${XINERAMA_LIBRARY_DIRS}
${XRANDR_LIBRARY_DIRS}
${GL_LIBRARY_DIRS}
${LIBPCRE_LIBRARY_DIRS}
)

Loading…
Cancel
Save