Skip to content

Commit

Permalink
Add default sip directory to search for Qsci sip files
Browse files Browse the repository at this point in the history
Handles instance where Qsci directory is outside of PyQt5 sip directory.
The default sip directory is logical additional place to search.
  • Loading branch information
dakcarto committed Nov 24, 2016
1 parent d187dd3 commit c8eca29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindQsci.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ELSE(EXISTS QSCI_MOD_VERSION_STR)
IF(QSCI_FOUND)
FIND_PATH(QSCI_SIP_DIR
NAMES Qsci/qscimod5.sip
PATHS ${PYQT5_SIP_DIR}
PATHS ${PYQT5_SIP_DIR} ${SIP_DEFAULT_SIP_DIR}
)

IF(NOT QSCI_FIND_QUIETLY)
Expand Down

0 comments on commit c8eca29

Please sign in to comment.