vcpkg/ports/cmocka/usage

6 lines
234 B
Plaintext
Raw Normal View History

The package @PORT@:@TARGET_TRIPLET@ provides CMake targets:
find_package(@PORT@ CONFIG REQUIRED)
target_include_directories(main PRIVATE ${CMOCKA_INCLUDE_DIR})
target_link_libraries(main PRIVATE ${CMOCKA_LIBRARIES})