Open slamjingjing opened 1 year ago
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
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)
sorry didn't read the earlier comment properly, Updating cmake to version 3.20.5 solves this issue :)
update cmake