26 ## Preserve PTHONPATH in order to avoid problems with Sphinx on Fedora26 because of Pigments in ParaView
27 export PYTHONPATH_OLD=$PYTHONPATH
29 export PYTHONPATH=$PYTHONPATH_OLD
32 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"
33 CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=${USE_TEST_COVERAGE:-OFF}"
34 CMAKE_ARGS="${CMAKE_ARGS} -DADD_MODELS_TESTS=${ADD_MODELS_TESTS:-FALSE}"
35 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${SHAPER_ROOT_DIR}"
36 CMAKE_ARGS="${CMAKE_ARGS} ${SOURCES_DIR}"
43 cmake -G "Unix Makefiles" ${CMAKE_ARGS}
44 make -j$(nproc) install