vcpkg/ports/soci/usage
2023-10-13 11:05:30 -07:00

6 lines
234 B
Plaintext

soci provides CMake targets:
find_package(SOCI CONFIG REQUIRED)
# Using core (loading backends at runtime)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SOCI::soci_core>,SOCI::soci_core,SOCI::soci_core_static>)