5 lines
178 B
Plaintext
Raw Normal View History

The package libodb-mysql provides CMake integration:
find_package(odb CONFIG COMPONENTS libodb mysql REQUIRED)
target_link_libraries(main PRIVATE odb::libodb-mysql)