8000 make ccache optional by fceller · Pull Request #10310 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

make ccache optional #10310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions 3rdParty/iresearch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,15 @@ endif()
### setup ccache
################################################################################

find_program(CCACHE_FOUND ccache)
option(USE_CCACHE "Use CCACHE if present" ON)

if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
endif(CCACHE_FOUND)
if (USE_CCACHE)
find_program(CCACHE_FOUND ccache)

if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
endif(CCACHE_FOUND)
endif()

if (USE_OPTIMIZE_FOR_ARCHITECTURE)
include(OptimizeForArchitecture)
Expand Down
0