diff --git a/.travis.yml b/.travis.yml index b9ea312d7c42e7d075bea6ceb82302126b6b0581..f4bb32d70af8ebcde428dc7fc55672f230e3a25b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,7 +75,7 @@ script: - mkdir build - cd build - export CMAKE_PREFIX_PATH=/tmp/_ci/install - - cmake .. -DPYTHON_EXECUTABLE=$PYTHON_DEFAULT_VERSION + - cmake .. -DPYTHON_EXECUTABLE=$PYTHON_DEFAULT_VERSION -DPYTHON_INCLUDE_DIR=$($PYTHON_DEFAULT_VERSION -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") -DPYTHON_LIBRARY=$($PYTHON_DEFAULT_VERSION -c "import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))") - make - ./extra_lib - cd /tmp/_ci/build