- adding cmake configuration errormessage if cmake configuration not found (will be removed later)
This commit is contained in:
Stephan Raue 2010-03-20 13:35:06 +01:00
parent bcb66965a4
commit e751006db5
2 changed files with 9 additions and 0 deletions

9
packages/network/libssh/build Normal file → Executable file
View File

@ -10,6 +10,15 @@ cd $PKG_BUILD
mkdir -p build
cd build
if [ ! -f $CMAKE_CONF ]; then
echo " ######### ERROR: ##########"
echo " $CMAKE_CONF not found"
echo " please reinstall cmake with: PROJECT=... ./scripts/install cmake"
echo " or do an full rebuild !!!"
echo " "
exit 1
fi
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
..

0
packages/network/libssh/install Normal file → Executable file
View File