即,如何在不修改所有人的CMakeLists.txt
情况下指定cmake构建应在计算机上搜索的目录?
指定-DCMAKE_PREFIX_PATH=/home/vadi/Programs/Qt/5.9/gcc_64/
可以解决问题(相应地更改为您的位置)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.