Skip to content

Commit a16fe02

Browse files
committed
Remove unnecessary CCACHE_PATH check
If the variable CCACHE_PATH is already set before the call (as a normal or cache variable) then the search will not occur.
1 parent 13a8df7 commit a16fe02

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmake/ccache.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
if (NOT CCACHE_PATH)
2-
find_program(CCACHE_PATH ccache)
3-
endif()
1+
find_program(CCACHE_PATH ccache)
42
if (NOT CCACHE_PATH)
53
message(AUTHOR_WARNING
64
"Ccache is not found, that will increase the re-compilation time; "

0 commit comments

Comments
 (0)