Open
Description
I ran into an issue where my project could not find the header console_bridge/console_bridge.h
event though find_package was able to find the package. After further investigation I found that the target console_bridge::console_bridge
provided by does not set the targets INTERFACE_INCLUDE_DIRECTORIES, but it does set the cmake variable console_bridge_INCLUDE_DIRS
.
Reproduce:
find_package(console_bridge REQUIRED)
get_target_property(GET_INCLUDES console_bridge::console_bridge INTERFACE_INCLUDE_DIRECTORIES)
message(AUTHOR_WARNING "console_bridge Interface Includes: ${GET_INCLUDES}")
add_library(${PROJECT_NAME} src/osqp_eigen_solver.cpp)
target_link_libraries(${PROJECT_NAME} PUBLIC console_bridge::console_bridge)
Output:
console_bridge Interface Includes: GET_INCLUDES-NOTFOUND
Metadata
Metadata
Assignees
Labels
No labels