More fixes for MacOS build

This commit is contained in:
Renato Araujo Oliveira Filho
2023-05-02 16:01:21 -03:00
committed by Sergio Martins
parent c3751142c0
commit 1275327163
2 changed files with 4 additions and 0 deletions

View File

@@ -106,6 +106,8 @@ else()
PYSIDE_INCLUDE_DIR pyside.h PYSIDE_INCLUDE_DIR pyside.h
PATHS ${PYSIDE2_BASEDIR}/include ${PYSIDE_CUSTOM_PREFIX}/include/PySide2 PATHS ${PYSIDE2_BASEDIR}/include ${PYSIDE_CUSTOM_PREFIX}/include/PySide2
NO_DEFAULT_PATH NO_DEFAULT_PATH
NO_CACHE
NO_SYSTEM_ENVIRONMENT_PATH
) )
# Platform specific library names # Platform specific library names

View File

@@ -94,6 +94,8 @@ else()
SHIBOKEN_INCLUDE_DIR shiboken.h SHIBOKEN_INCLUDE_DIR shiboken.h
PATHS ${SHIBOKEN_CUSTOM_PREFIX} ${SHIBOKEN_GENERATOR_BASEDIR}/include PATHS ${SHIBOKEN_CUSTOM_PREFIX} ${SHIBOKEN_GENERATOR_BASEDIR}/include
NO_DEFAULT_PATH NO_DEFAULT_PATH
NO_CACHE
NO_SYSTEM_ENVIRONMENT_PATH
) )
if(MSVC) if(MSVC)
set(SHIBOKEN_LIBRARY_BASENAMES "shiboken2.abi3.lib") set(SHIBOKEN_LIBRARY_BASENAMES "shiboken2.abi3.lib")