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
parent
commit
ff00508df0
No known key found for this signature in database GPG Key ID: 362DA3DC1901E080
  1. 4
      CMakeModules/DisableCCacheForPackage.cmake

4
CMakeModules/DisableCCacheForPackage.cmake

@ -6,13 +6,13 @@ function(DisableCCacheForPackage)
if (WIN32 AND (CMAKE_BUILD_TYPE MATCHES "Debug|RelWithDebInfo"))
foreach(target_package IN LISTS ARGV)
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
C_COMPILER_LAUNCHER ""
CXX_COMPILER_LAUNCHER ""
)
else()
message(WARNING "DisableCCacheForPackage: Target '${target_package}' does not exist — skipping")
message(WARNING "[DisableCCacheForPackage] Target '${target_package}' does not exist — skipping")
endif()
endforeach()
endif()

Loading…
Cancel
Save