blob: 1a4c1ce177c12c9e62b890dbe03dee683ae18764 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
minc provides CMake integration:
find_package(LIBMINC CONFIG REQUIRED)
target_include_directories(main PRIVATE ${LIBMINC_INCLUDE_DIRS})
target_link_directories(main PRIVATE ${LIBMINC_LIBRARY_DIRS})
target_link_libraries(main PRIVATE ${LIBMINC_LIBRARIES})
LIBMINC_LIBRARIES may include imported targets.
Downstream CMake config may need to add:
include(CMakeFindDependencyMacro)
find_dependency(LIBMINC CONFIG)
|