build: Conan generator changed to provide more transparent dependency handling
This commit is contained in:
1 parent
9efa8b4711
commit
c5919d2cd8
7 files changed
+15
-63
No files matched your search
@@ -36,11 +36,11 @@ add_example(experimental_angle)
|
||||
add_example(foot_pound_second)
|
||||
add_example(kalman_filter-alpha_beta_filter_example2)
|
||||
|
||||
conan_check_testing(linear_algebra)
|
||||
find_package(linear_algebra CONFIG REQUIRED)
|
||||
add_example(linear_algebra)
|
||||
target_link_libraries(linear_algebra
|
||||
PRIVATE
|
||||
$<IF:$<TARGET_EXISTS:CONAN_PKG::linear_algebra>,CONAN_PKG::linear_algebra,linear_algebra::linear_algebra>
|
||||
linear_algebra::linear_algebra
|
||||
)
|
||||
|
||||
add_example(measurement)
|
||||
|
||||
Reference in new issue
Block a user