Skip to content

Commit c234287

Browse files
larshgmvieth
andauthored
Remove remains from when tools was part of libraries. (#6358)
* Remains from when tools was part of libraries. * Remove EXT_DEPS from PKGConfig call. Co-authored-by: Markus Vieth <[email protected]> --------- Co-authored-by: Markus Vieth <[email protected]>
1 parent 30b651b commit c234287

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

visualization/CMakeLists.txt

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set(SUBSYS_DESC "Point cloud visualization library")
33
set(SUBSYS_DEPS common io kdtree geometry search octree)
44

55
PCL_SUBSYS_OPTION(build "${SUBSYS_NAME}" "${SUBSYS_DESC}" ON)
6-
PCL_SUBSYS_DEPEND(build NAME ${SUBSYS_NAME} DEPS ${SUBSYS_DEPS} EXT_DEPS vtk OPT_DEPS openni openni2 ensenso davidSDK dssdk rssdk)
6+
PCL_SUBSYS_DEPEND(build NAME ${SUBSYS_NAME} DEPS ${SUBSYS_DEPS} EXT_DEPS vtk)
77

88
if(ANDROID)
99
message("VTK was found, but cannot be compiled for Android. Please use VES instead.")
@@ -212,27 +212,7 @@ if(HAVE_QVTK)
212212
endif()
213213
endif()
214214

215-
set(EXT_DEPS "")
216-
if(WITH_OPENNI)
217-
list(APPEND EXT_DEPS libopenni)
218-
endif()
219-
if(WITH_OPENNI2)
220-
list(APPEND EXT_DEPS libopenni2)
221-
endif()
222-
if(WITH_ENSENSO)
223-
list(APPEND EXT_DEPS ensenso)
224-
endif()
225-
if(WITH_DAVIDSDK)
226-
list(APPEND EXT_DEPS davidSDK)
227-
endif()
228-
if(WITH_DSSDK)
229-
list(APPEND EXT_DEPS dssdk)
230-
endif()
231-
if(WITH_RSSDK)
232-
list(APPEND EXT_DEPS rssdk)
233-
endif()
234-
235-
PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS} EXT_DEPS ${EXT_DEPS})
215+
PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS})
236216

237217
# Install include files
238218
PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}" ${incs})

0 commit comments

Comments
 (0)