Skip to content

Commit

Permalink
enable pch on all platforms if (s)ccache was not found
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Feb 12, 2024
1 parent 875c3ea commit b78c6b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ if (NOT GEODE_DISABLE_CACHE AND
message(STATUS "Looking for ccache/sccache - not found")
message(NOTICE "Not using a caching compiler (ccache/sccache). "
"It is recommended to install one to improve build times.")
message(NOTICE "Recommended sccache, check its README for installation instructions, "
message(NOTICE "We recommend sccache, check its README for installation instructions, "
"normally you can just use your usual package manager (e.g. 'scoop install sccache').")
if (NOT DEFINED GEODE_DISABLE_PRECOMPILED_HEADERS)
message(NOTICE "Because of this, PCH will be enabled.")
set(GEODE_DISABLE_PRECOMPILED_HEADERS OFF)
endif()
else()
message(STATUS "Looking for ccache/sccache - found")
message(NOTICE "Compiler launcher not set but ccache/sccache was found. "
Expand Down

0 comments on commit b78c6b1

Please sign in to comment.