diff --git a/io/CMakeLists.txt b/io/CMakeLists.txt index 0b99233d360..f66b81eabe0 100644 --- a/io/CMakeLists.txt +++ b/io/CMakeLists.txt @@ -252,9 +252,6 @@ if(build) endif(PCAP_FOUND) set(EXT_DEPS eigen3) - if(OPENNI_FOUND) - list(APPEND EXT_DEPS openni-dev) - endif(OPENNI_FOUND) PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "${EXT_DEPS}" "" "" "") diff --git a/visualization/CMakeLists.txt b/visualization/CMakeLists.txt index 00cdc7f8293..fc448ef6565 100644 --- a/visualization/CMakeLists.txt +++ b/visualization/CMakeLists.txt @@ -157,9 +157,6 @@ if(build) endif() set(EXT_DEPS "") - if(OPENNI_FOUND) - list(APPEND EXT_DEPS openni-dev) - endif(OPENNI_FOUND) PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "${EXT_DEPS}" "" "" "")