Skip to content

Commit f07c472

Browse files
authored
build(cmake): update clang tidy property for NO_WARNINGS (#16281)
1 parent a72ba49 commit f07c472

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/GoogleCloudCppCommonOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function (google_cloud_cpp_add_common_options target)
8989
endif ()
9090

9191
if (_opt_NO_WARNINGS)
92-
set_target_properties(${libname} PROPERTIES CXX_CLANG_TIDY "")
92+
set_target_properties(${target} PROPERTIES CXX_CLANG_TIDY "")
9393
return()
9494
endif ()
9595
if (GOOGLE_CLOUD_CPP_COMPILER_SUPPORTS_WALL)

0 commit comments

Comments
 (0)