Skip to content

set_property can not be used on an ALIAS target #1456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Jul 16, 2018 · 3 comments
Closed

set_property can not be used on an ALIAS target #1456

ghost opened this issue Jul 16, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 16, 2018

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)

@sromberg
Copy link

Same when compiling open3d with pybind on macOS 10.14. Does anyone have an idea how to solve that?

@shoKagami
Copy link

I also faced this bug. But it was fixed by comment out the 3rd line of Open3D/src/External/CMakeList.txt.
as isl-org/Open3D#420 (comment) .

@henryiii
Copy link
Collaborator

henryiii commented Aug 8, 2020

Looks like it was fixed upstream. If it does persist, #2370 would likely fix it as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants