diff options
author | Toni Saario <toni.saario@qt.io> | 2021-02-15 12:54:39 +0200 |
---|---|---|
committer | Toni Saario <toni.saario@qt.io> | 2021-03-07 16:56:22 +0000 |
commit | 93f46f303e4afd21e013c67d13cbdc0497a8b076 (patch) | |
tree | c6e9d98f6ba7e38e47a98c34d11aaa4a42d8b28e /coin | |
parent | 4f923348f58fa9106a54d647ea1a4bd49c2f6e2a (diff) |
Doc Build: Do not fail if CMakeCache.txt does not exist
If we skip module build the CMakeCache.txt does not exist.
Change-Id: Ic44bddf29f1eef1e6ffc568c871d9d7e7de71f48
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit 22d692e9e01bcf486e2b268059c30998ca8b06bc)
Diffstat (limited to 'coin')
-rw-r--r-- | coin/instructions/cmake_documentation_build.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/instructions/cmake_documentation_build.yaml b/coin/instructions/cmake_documentation_build.yaml index d8ce9765ff..4fcdab8394 100644 --- a/coin/instructions/cmake_documentation_build.yaml +++ b/coin/instructions/cmake_documentation_build.yaml @@ -7,7 +7,7 @@ instructions: - type: ChangeDirectory directory: "{{.BuildDir}}" - type: ExecuteCommand - command: "rm {{.SourceDir}}/CMakeCache.txt" # CMake configure does not apply if not removed. + command: "rm -f {{.SourceDir}}/CMakeCache.txt" # CMake configure does not apply if not removed. maxTimeInSeconds: 300 maxTimeBetweenOutput: 300 userMessageOnFailure: Failed to remove CMake cache. |