mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 23:01:38 +08:00
6 lines
234 B
Plaintext
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>)
|