Skip to content
Snippets Groups Projects
Commit 1fc81734 authored by Jonathan Hanks's avatar Jonathan Hanks
Browse files

Closes #6 again. Requesting X11_LIBRARIES brought in libXext, libICE, ... in cmake.

Change to requesting X11_X11_LIB specifically (libX11.so).  This keeps libXext, ... from being imported into the dv build (other than being pulled in implicitly by libXm.so).
parent 17cfad81
No related branches found
No related tags found
1 merge request!50Closes #6 again. Requesting X11_LIBRARIES brought in libXext, libICE, ... in cmake.
......@@ -15,13 +15,15 @@ if (${GRACE_FOUND} AND ${MOTIF_FOUND} AND ${_has_X11_Xt} AND ${X11_FOUND})
add_library(motif_ INTERFACE)
target_include_directories(motif_ INTERFACE ${MOTIF_INCLUDE_DIR})
target_link_libraries(motif_ INTERFACE ${MOTIF_LIBRARIES})
add_library(motif::motif ALIAS motif_)
add_library(dv_x11_ INTERFACE)
target_include_directories(dv_x11_ INTERFACE ${X11_INCLUDE_DIR})
target_link_libraries(dv_x11_ INTERFACE
${X11_Xt_LIB}
${X11_LIBRARIES})
${X11_X11_LIB})
add_library(dv::X11 ALIAS dv_x11_)
add_subdirectory(Lib/UTC_GPS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment