From bd73aa21a9cd1625f7cf567ab5b56bde46c0af0e Mon Sep 17 00:00:00 2001 From: jadebenn Date: Sat, 6 Apr 2024 18:21:16 -0500 Subject: [PATCH] save me --- cmake/FindMariaDB.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/FindMariaDB.cmake b/cmake/FindMariaDB.cmake index 65f77db4..3ab4654e 100644 --- a/cmake/FindMariaDB.cmake +++ b/cmake/FindMariaDB.cmake @@ -143,5 +143,6 @@ endif() # Add directories to include lists target_include_directories(MariaDB::ConnCpp SYSTEM INTERFACE ${MARIADB_INCLUDE_DIR}) +target_link_directories(MariaDB::ConnCpp PUBLIC ${MARIADBCPP_LIBRARY_DIR}) set(MariaDB_FOUND TRUE)