aboutsummaryrefslogtreecommitdiff
path: root/ports/llfio/usage-error-code-dynamic
blob: 21b2aff448580e3d4eda4bf905955493aa265e4a (plain)
1
2
3
4
5
6
7
8
9
10
The package llfio provides two CMake targets:

    find_package(llfio CONFIG REQUIRED)

- If you want the header-only form of LLFIO:
    find_package(Threads REQUIRED)
    target_link_libraries(main PUBLIC llfio::hl)

- If you want the shared library form of LLFIO with shared NT kernel error code category:
    target_link_libraries(main PUBLIC llfio::dl llfio::ntkernel-error-category::dl)