Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

find_package(IPCL) does not work without installation #69

Description

@WeiDaiWD

Assuming cmake -S . -B build ..., without installation, find_package(IPCL HINTS ${IPCL}/cmake/ipcl-2.0.0) can find cmake/ipcl-2.0.0/IPCLConfig.cmake. Then IPCLConfig.cmake points to non-existing IPCLConfigVersion.cmake and IPCLTargets.cmake files that are instead generated to build/ipcl/cmake/ipcl-2.0.0/.

Replacing IPCL_ROOT_DIR on this line by CMAKE_CURRENT_BINARY_DIR should fix the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions