Skip to content

Commit 689fa97

Browse files
author
Simon Rit
committed
FIX: TravisCI SimpleRTK PythonLibs issues using solution suggested in
pybind/pybind11#99 comments
1 parent a87ae69 commit 689fa97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ script:
112112
- CMAKE_OPTIONS="-DBUILD_APPLICATIONS=${APPLICATIONS} ${CMAKE_OPTIONS}"
113113
- CMAKE_OPTIONS="-DBUILD_TESTING=${TESTING} ${CMAKE_OPTIONS}"
114114
- if test $SIMPLERTK == ON ; then CMAKE_OPTIONS="-DBUILD_SIMPLERTK=ON -DWRAP_PYTHON=ON ${CMAKE_OPTIONS}"; fi
115+
- if test $SIMPLERTK == ON ; then CMAKE_OPTIONS="-DPYTHON_LIBRARY=$(python-config --prefix)/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=$(python-config --prefix)/include/python2.7 ${CMAKE_OPTIONS}"; fi
115116
- if test $TRAVIS_OS_NAME == linux ; then CMAKE_OPTIONS="-DRTK_USE_KWSTYLE=ON ${CMAKE_OPTIONS}"; fi
116117
- if [ $DO_BUILD_RTK == true ]; then cmake .. $CMAKE_OPTIONS || travis_terminate 1; fi
117118
- if [ $DO_BUILD_RTK == true ] && [ "$TRAVIS_OS_NAME" == linux ]; then make StyleCheckCode || travis_terminate 1; fi

0 commit comments

Comments
 (0)