【已解决】 The plain signature for target_link_libraries has already been used with the target "openvslam".
一、问题描述
openvslam中用cudasft代替orb特征提取和匹配时,cmake编译报错:
指向src/openvslam/CMakeLists.txt
The plain signature for target_link_libraries has already been used with the target “openvslam”. All uses of target_link_libraries with a target must be either all-keyword or all-plain.
# Link to required libraries
target_link_libraries(${
PROJECT_NAME}
# PUBLIC
Threads::Threads
Eigen3::Eigen
yaml-cpp