We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 767d24b + 490996e commit 4a6fbd8Copy full SHA for 4a6fbd8
1 file changed
visualization/CMakeLists.txt
@@ -140,6 +140,11 @@ endif()
140
141
target_link_libraries("${LIB_NAME}" pcl_common pcl_io pcl_kdtree pcl_geometry pcl_search ${OPENGL_LIBRARIES})
142
143
+if(${VTK_VERSION} VERSION_GREATER_EQUAL 9.6 AND UNIX AND NOT ANDROID AND NOT APPLE AND NOT APPLE_IOS)
144
+ find_package(X11 REQUIRED)
145
+ target_link_libraries("${LIB_NAME}" ${X11_LIBRARIES})
146
+endif()
147
+
148
if(${VTK_VERSION} VERSION_GREATER_EQUAL 9.0)
149
#Some libs are referenced through depending on IO
150
target_link_libraries("${LIB_NAME}"
0 commit comments