Promote internal pybind11 ahead of system
This commit is contained in:
parent
2bde19bde2
commit
74e4370a9b
|
@ -770,7 +770,8 @@ include( ${SWIG_USE_FILE} )
|
|||
# pybind11 is header-only, so include the subdir
|
||||
add_subdirectory(thirdparty/pybind11)
|
||||
|
||||
include_directories( SYSTEM ${PYBIND11_INCLUDE_DIR} )
|
||||
# Make sure that we get our pybind11 and not the system pybind11 (ours is patched to work with wx)
|
||||
include_directories( BEFORE SYSTEM ${PYBIND11_INCLUDE_DIR} )
|
||||
|
||||
set( PythonInterp_FIND_VERSION 3.6 )
|
||||
set( PythonLibs_FIND_VERSION 3.6 )
|
||||
|
|
Loading…
Reference in New Issue