vcpkg/ports/armadillo/usage

11 lines
365 B
Plaintext
Raw Normal View History

armadillo provides CMake targets:
find_package(Armadillo CONFIG REQUIRED)
target_link_libraries(main PRIVATE armadillo)
armadillo is compatible with built-in CMake targets:
find_package(Armadillo REQUIRED)
target_include_directories(main PRIVATE ${ARMADILLO_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${ARMADILLO_LIBRARIES})