mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-30 03:08:12 +08:00
modify build.sh ,fix find_package search path in CONFIG mode
This commit is contained in:
parent
284014f2ed
commit
926adacfde
2
build.sh
2
build.sh
@ -69,6 +69,8 @@ if [ "$PRODUCT" != "X64" ]; then
|
||||
echo "TOOLCHAIN_FILE=${TOOLCHAIN_FILE}"
|
||||
fi
|
||||
|
||||
export PATH=$PATH:$DEPLIBS_DIR
|
||||
|
||||
if [ "${BUILD_TYPE,,}"="debug" ];then
|
||||
DEPLIBS_DIR="${DEPLIBS_DIR}/debug"
|
||||
fi
|
||||
|
@ -61,7 +61,7 @@ int main (int argc, char *argv[]){
|
||||
cdroid::HtmlView*html=new cdroid::HtmlView(400,400);
|
||||
w->addView(html);
|
||||
if(app.getParamCount())
|
||||
html->open_page(getParam(0,htmlbody));
|
||||
html->open_page(app.getParam(0,htmlbody),"");
|
||||
else
|
||||
html->open_page(htmlbody,"");
|
||||
return app.exec();
|
||||
|
Loading…
Reference in New Issue
Block a user