Commit 45dfef03 authored by T.J. Corona's avatar T.J. Corona

Promote pybind11 from 3rd party to a full dependency.

parent c774482b
Pipeline #67337 passed with stage
......@@ -125,10 +125,6 @@ function (superbuild_sanity_check)
message(FATAL_ERROR
"Exactly one python wrapping protocol must be enabled: pybind11, shiboken.")
endif ()
if (MSVC AND (MSVC_VERSION LESS 1900) AND pybind11_enabled)
message(FATAL_ERROR
"Visual Studio 2015 or later is required to use pybind11; use shiboken instead.")
endif ()
if (shiboken_enabled AND NOT ENABLE_qt4)
message(FATAL_ERROR
"Shiboken requires qt4; either use qt4 + shiboken or qt5 + pybind11.")
......
# for now, pybind11 is a third-party submodule of smtk. This project is a dummy
superbuild_add_dummy_project(pybind11
if (MSVC AND (MSVC_VERSION LESS 1900) AND pybind11_enabled)
message(FATAL_ERROR
"Visual Studio 2015 or later is required to use pybind11.")
endif ()
superbuild_add_project(pybind11
DEFAULT_ON
DEPENDS python)
DEPENDS python cxx11
CMAKE_ARGS
-DPYBIND11_TEST:BOOL=OFF)
......@@ -117,10 +117,8 @@ superbuild_set_revision(pythongirderclient
URL_MD5 4cd5e0cab41337a41f45453d25193dcf)
superbuild_set_revision(pybind11
# GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
# GIT_TAG 05920e363edfd5d8dc6b4608820d749af5217b5f)
URL "http://www.computationalmodelbuilder.org/files/dependencies/pybind11-05920e363edfd5d8dc6b4608820d749af5217b5f.tar.bz2"
URL_MD5 48435b9c662dba020e1db0a6401d189b)
GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
GIT_TAG 3dde6ddc5348d5ccd006b2ce00302ed076f59454)
superbuild_set_revision(ftgl
# https://github.com/ulrichard/ftgl.git
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment