CMake Error: The following variables are used in this project, but they are set to NOTFOUND.解决
一、问题展示使用cmake时,提示错误如下CMakeError:Thefollowingvariablesareusedinthisproject,buttheyaresettoNOTFOUND.PleasesetthemormakesuretheyaresetandtestedcorrectlyintheCMakefiles