File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -617,9 +617,7 @@ if (COMPILER_CACHE STREQUAL "chcache" AND CHCACHE_EXECUTABLE_PATH STREQUAL "")
617617 message (STATUS "Adding chcache as dependency to all other targets" )
618618 get_all_targets(all_targets)
619619 set (chcache_targets _cargo-build_chcache cargo-build_chcache cargo-prebuild_chcache)
620- if (NOT TARGET cargo-build_chcache)
621- message (FATAL_ERROR "Building chcache is disabled and CHCACHE_EXECUTABLE_PATH is not set, cannot use chcache as compiler cache." )
622- endif ()
620+
623621 foreach (target ${all_targets} )
624622 if (target IN_LIST chcache_targets)
625623 continue ()
Original file line number Diff line number Diff line change 11add_subdirectory (workspace)
2-
3- option (ENABLE_CHCACHE "Enable chcache" ${ENABLE_RUST} )
4-
5- if (ENABLE_CHCACHE)
6- add_subdirectory (chcache)
7- endif ()
2+ add_subdirectory (chcache)
You can’t perform that action at this time.
0 commit comments