CMake Build: exclude libiodbc, libpq on macOS

Change-Id: Ib975c207c0c9e0f2df0c53e5f3230fd9ed40b13d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2020-01-31 16:16:28 +01:00
committed by Alessandro Portale
parent cc32cabd4f
commit dd9a12af33

View File

@@ -83,6 +83,9 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16)
if (WIN32)
set(pre_exclude_regexes PRE_EXCLUDE_REGEXES \"api-ms-.*|ext-ms-\.*\")
endif()
if (APPLE)
set(pre_exclude_regexes PRE_EXCLUDE_REGEXES \"libiodbc\.*|libpq\.*\")
endif()
get_filename_component(install_prefix \"\${CMAKE_INSTALL_PREFIX}\" ABSOLUTE)