fix: macos?

This commit is contained in:
Xiphoseer
2024-01-05 22:32:27 +01:00
parent 4569ea29d5
commit a52cfb5b0b
2 changed files with 7 additions and 4 deletions

View File

@@ -142,7 +142,8 @@ if(WIN32)
IMPORTED_IMPLIB "${MARIADB_IMPLIB_LOCATION}")
elseif(APPLE)
set_target_properties(MariaDB::ConnCpp PROPERTIES
MACOSX_RPATH TRUE)
MACOSX_RPATH TRUE
INSTALL_NAME_DIR "@rpath")
endif()
# Add directories to include lists