Merge pull request #1086 from gangliao/swig

Find swig in system first
avx_docs
Yu Yang 9 years ago committed by GitHub
commit 5c0178b0f2

@ -29,6 +29,7 @@ addons:
- python-pip
- python2.7-dev
- curl
- swig
- graphviz
- clang-format-3.8
- automake

@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FIND_PACKAGE(SWIG)
IF(NOT SWIG_FOUND)
# build swig as an external project
INCLUDE(ExternalProject)
@ -68,3 +71,4 @@ ELSE(WIN32)
ENDIF(WIN32)
LIST(APPEND external_project_dependencies swig)
ENDIF(NOT SWIG_FOUND)

Loading…
Cancel
Save