Skip to content

Commit 469f47f

Browse files
authored
Update paths in install_cereal.sh for include directory
Modify the wrong paths.
1 parent 05ff26e commit 469f47f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

toolchain/scripts/stage4/install_cereal.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ esac
116116
if [ "$with_cereal" != "__DONTUSE__" ]; then
117117
if [ "$with_cereal" != "__SYSTEM__" ]; then
118118
cat << EOF > "${BUILDDIR}/setup_cereal"
119-
prepend_path CPATH "$pkg_install_dir"
120-
prepend_path CMAKE_PREFIX_PATH "$pkg_install_dir"
121-
export CPATH="$pkg_install_dir":\${CPATH}
122-
export CMAKE_PREFIX_PATH="$pkg_install_dir":\${CMAKE_PREFIX_PATH}
119+
prepend_path CPATH "$pkg_install_dir/include"
120+
prepend_path CMAKE_PREFIX_PATH "$pkg_install_dir/include"
121+
export CPATH="$pkg_install_dir/include":\${CPATH}
122+
export CMAKE_PREFIX_PATH="$pkg_install_dir/include":\${CMAKE_PREFIX_PATH}
123123
export CEREAL_ROOT="$pkg_install_dir"
124124
EOF
125125
else

0 commit comments

Comments
 (0)