Add macOS support for the Mimer SQL QtSql plugin

Make sure the Mimer SQL include files and libraries are found
to enable the Mimer SQL QtSql plugin.

Fixes: QTBUG-111219
Change-Id: Ieee0e26f3689dd373fda81c98180066927d25b40
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit d21003fc48f26712eedb2798db57e04120f9101f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Fredrik Ålund 2023-08-23 12:59:13 +02:00 committed by Qt Cherry-pick Bot
parent 974e5986ba
commit df55581a79

View File

@ -43,6 +43,9 @@ else()
else() else()
set(MimerSQL_library_hints "") set(MimerSQL_library_hints "")
endif() endif()
elseif(APPLE AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(MimerSQL_library_hints "/usr/local/lib")
set(MimerSQL_include_dir_hints "/usr/local/include")
else() else()
set(MimerSQL_include_dir_hints "") set(MimerSQL_include_dir_hints "")
set(MimerSQL_library_hints "") set(MimerSQL_library_hints "")