We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff1307 commit 5847881Copy full SHA for 5847881
CMakeLists.txt
@@ -474,7 +474,11 @@ if(CCACHE_EXE_FOUND AND CCACHE_ALLOWED)
474
message(STATUS "Using rule: ${NEO_RULE_LAUNCH_STR}")
475
476
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${NEO_RULE_LAUNCH_STR})
477
- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ${NEO_RULE_LAUNCH_STR})
+ if("${CMAKE_GENERATOR}" STREQUAL "Ninja")
478
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ${NEO_RULE_LAUNCH_STR})
479
+ else()
480
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
481
+ endif()
482
endif()
483
484
# Miscs options
0 commit comments