mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:41:48 +08:00
11 lines
367 B
Plaintext
11 lines
367 B
Plaintext
armadillo provides CMake targets:
|
|
|
|
find_package(Armadillo CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE armadillo)
|
|
|
|
armadillo is compatible with built-in CMake variables:
|
|
|
|
find_package(Armadillo REQUIRED)
|
|
target_include_directories(main PRIVATE ${ARMADILLO_INCLUDE_DIRS})
|
|
target_link_libraries(main PRIVATE ${ARMADILLO_LIBRARIES})
|