From fe13d591464220b1bc34bd39777a4f3027e7f67b Mon Sep 17 00:00:00 2001 From: Rudi Chen Date: Sun, 6 Sep 2015 16:53:26 -0400 Subject: [PATCH] Troubleshooting tip for repeated build failures with cmake. --- BUILD.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BUILD.md b/BUILD.md index ad365fcde2..ae4a67c2ee 100644 --- a/BUILD.md +++ b/BUILD.md @@ -53,6 +53,8 @@ Create a build directory in the root of your checkout and then run the CMake bui cd build cmake .. +If cmake gives you the same error message repeatedly after the build fails (e.g. you had a typo in the QT_CMAKE_PREFIX_PATH that you fixed but the `.cmake` files still cannot be found), try removing `CMakeCache.txt`. + ####Variables Any variables that need to be set for CMake to find dependencies can be set as ENV variables in your shell profile, or passed directly to CMake with a `-D` flag appended to the `cmake ..` command.