mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 07:42:59 +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>)
|