|
|
@ -18,10 +18,10 @@ if(ENABLE_CCACHE AND NOT CMAKE_COMPILER_IS_CCACHE) |
|
|
|
message(STATUS "Unable to compile program with enabled ccache, reverting...") |
|
|
|
message(STATUS "Unable to compile program with enabled ccache, reverting...") |
|
|
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${__OLD_RULE_LAUNCH_COMPILE}") |
|
|
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${__OLD_RULE_LAUNCH_COMPILE}") |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
endif() |
|
|
|
else() |
|
|
|
else() |
|
|
|
message(STATUS "Looking for ccache - not found") |
|
|
|
message(STATUS "Looking for ccache - not found") |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
if((CMAKE_COMPILER_IS_CLANGCXX OR CMAKE_COMPILER_IS_CLANGCC OR CMAKE_COMPILER_IS_CCACHE) AND NOT CMAKE_GENERATOR MATCHES "Xcode") |
|
|
|
if((CMAKE_COMPILER_IS_CLANGCXX OR CMAKE_COMPILER_IS_CLANGCC OR CMAKE_COMPILER_IS_CCACHE) AND NOT CMAKE_GENERATOR MATCHES "Xcode") |
|
|
|