Skip to content
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

INTERFACE_LIBRARY targets may only have whitelisted properties. The property "IMPORTED_RELEASE_LOCATION" is not allowed #75

Open
slamjingjing opened this issue Aug 9, 2023 · 4 comments

Comments

@slamjingjing
Copy link

No description provided.

@fighter-hub
Copy link

update cmake

@asackan
Copy link

asackan commented Feb 20, 2024

I changed cmake/external.cmake 13 line. also update cmake version up to 3.20

get_target_property(__LOCATION ${target} IMPORTED_RELEASE_LOCATION)

to

get_target_property(__LOCATION ${target} IMPORTED_LOCATION_RELEASE)

so I fixed it

@saadehmd
Copy link

saadehmd commented Jul 10, 2024

Still gives the same issue after applying the above corrections

INFO /ros_ws/src/ct_icp/install/Ceres/lib/libceres.so.2.0.0
CMake Error at cmake/external.cmake:13 (get_target_property):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "IMPORTED_LOCATION_RELEASE" is not allowed.
Call Stack (most recent call first):
CMakeLists.txt:51 (include)

INFO /ros_ws/src/ct_icp/install/yaml-cpp/lib/libyaml-cpp.so.0.6.3
CMake Error at cmake/external.cmake:13 (get_target_property):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "IMPORTED_LOCATION_RELEASE" is not allowed.
Call Stack (most recent call first):
CMakeLists.txt:51 (include)

@saadehmd
Copy link

saadehmd commented Jul 10, 2024

sorry didn't read the earlier comment properly, Updating cmake to version 3.20.5 solves this issue :)

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

4 participants