CMake Error: The source "Path1/CMakeLists.txt" does not match the source "Path2/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
出現上述的錯誤,因為我把之前做過cmake的資料夾搬到另一台機器上,想要重做cmake讓路徑重抓
解決方法
把CMakeCache.txt刪掉就可以執行了
文章標籤
全站熱搜