diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-08-02 18:54:15 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-08-02 18:54:15 -0400 |
commit | e3b3fb577a27abf48224bf58e6b479688a4f0bfd (patch) | |
tree | 9887a24c23e0b317f51e6faeb0be86a36905fa4d /cmake | |
parent | Merge pull request #7790 (diff) | |
parent | cmake: test is a reserved keyword (diff) | |
download | monero-e3b3fb577a27abf48224bf58e6b479688a4f0bfd.tar.xz |
Merge pull request #7794
4414ed4 cmake: test is a reserved keyword (selsta)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindCcache.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindCcache.cmake b/cmake/FindCcache.cmake index 2eb2fa2fd..d98518134 100644 --- a/cmake/FindCcache.cmake +++ b/cmake/FindCcache.cmake @@ -50,7 +50,7 @@ option (CCACHE "") file(WRITE "${CMAKE_SOURCE_DIR}/test.cpp" "int main() { return 0; }") set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE}") set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "${CCACHE}") -add_executable(test test.cpp) +add_executable(main test.cpp) ]=]) try_compile(RET "${TEST_PROJECT}/build" "${TEST_PROJECT}" "test" CMAKE_FLAGS -DCCACHE="${CCACHE_FOUND}") unset(TEST_PROJECT) |