Skip to content

set_property can not be used on an ALIAS target #1456

Closed
@ghost

Description

when I compile open3d using pybind as dependence in ubuntu16.04LTS, it occurs:

CMake Error at /usr/local/share/cmake/pybind11/pybind11Targets.cmake:50 (set_target_properties):
set_target_properties can not be used on an ALIAS target.
Call Stack (most recent call first):
/usr/local/share/cmake/pybind11/pybind11Config.cmake:108 (include)
External/CMakeLists.txt:3 (find_package)

CMake Error at /usr/local/share/cmake/pybind11/pybind11Targets.cmake:57 (set_target_properties):
set_target_properties can not be used on an ALIAS target.
Call Stack (most recent call first):
/usr/local/share/cmake/pybind11/pybind11Config.cmake:108 (include)
External/CMakeLists.txt:3 (find_package)

CMake Error at /usr/local/share/cmake/pybind11/pybind11Targets.cmake:65 (set_target_properties):
set_target_properties can not be used on an ALIAS target.
Call Stack (most recent call first):
/usr/local/share/cmake/pybind11/pybind11Config.cmake:108 (include)
External/CMakeLists.txt:3 (find_package)

CMake Error at /usr/local/share/cmake/pybind11/pybind11Config.cmake:111 (set_property):
set_property can not be used on an ALIAS target.
Call Stack (most recent call first):
External/CMakeLists.txt:3 (find_package)

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