vcpkg/ports/libmysofa/usage

5 lines
205 B
Plaintext
Raw Normal View History

libmysofa provides CMake targets:
find_package(mysofa CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mysofa::mysofa-shared>,mysofa::mysofa-shared,mysofa::mysofa-static>)