Browse Source
CMakeModules: Standard Message for modules is between []
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
pull/3000/head
Caio Oliveira
3 months ago
No known key found for this signature in database
GPG Key ID: 362DA3DC1901E080
1 changed files with
2 additions and
2 deletions
-
CMakeModules/DisableCCacheForPackage.cmake
|
|
@ -6,13 +6,13 @@ function(DisableCCacheForPackage) |
|
|
if (WIN32 AND (CMAKE_BUILD_TYPE MATCHES "Debug|RelWithDebInfo")) |
|
|
if (WIN32 AND (CMAKE_BUILD_TYPE MATCHES "Debug|RelWithDebInfo")) |
|
|
foreach(target_package IN LISTS ARGV) |
|
|
foreach(target_package IN LISTS ARGV) |
|
|
if (TARGET ${target_package}) |
|
|
if (TARGET ${target_package}) |
|
|
message(STATUS "DisableCCacheForPackage: Disabling compiler launcher for target '${target_package}'") |
|
|
|
|
|
|
|
|
message(STATUS "[DisableCCacheForPackage] Disabling compiler launcher for target '${target_package}'") |
|
|
set_target_properties(${target_package} PROPERTIES |
|
|
set_target_properties(${target_package} PROPERTIES |
|
|
C_COMPILER_LAUNCHER "" |
|
|
C_COMPILER_LAUNCHER "" |
|
|
CXX_COMPILER_LAUNCHER "" |
|
|
CXX_COMPILER_LAUNCHER "" |
|
|
) |
|
|
) |
|
|
else() |
|
|
else() |
|
|
message(WARNING "DisableCCacheForPackage: Target '${target_package}' does not exist — skipping") |
|
|
|
|
|
|
|
|
message(WARNING "[DisableCCacheForPackage] Target '${target_package}' does not exist — skipping") |
|
|
endif() |
|
|
endif() |
|
|
endforeach() |
|
|
endforeach() |
|
|
endif() |
|
|
endif() |
|
|
|