forked from mpusz/mp-units
build: Conan generator changed to provide more transparent dependency handling
This commit is contained in:
@@ -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