mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 05:39:00 +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>)
|