mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 13:31:48 +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>)
|