Fix MacOs build
Avoid use empty path for custom dir
This commit is contained in:
committed by
Sergio Martins
parent
c603593552
commit
c3751142c0
@@ -98,6 +98,10 @@ else()
|
||||
|
||||
#PySide
|
||||
#===============================================================================
|
||||
if(PYSIDE_CUSTOM_PREFIX STREQUAL "")
|
||||
set(PYSIDE_CUSTOM_PREFIX ${PYSIDE2_BASEDIR})
|
||||
endif()
|
||||
|
||||
find_path(
|
||||
PYSIDE_INCLUDE_DIR pyside.h
|
||||
PATHS ${PYSIDE2_BASEDIR}/include ${PYSIDE_CUSTOM_PREFIX}/include/PySide2
|
||||
|
||||
Reference in New Issue
Block a user