From 809f7b0c3af8d46610ae0963e061415b50f2a363 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 2 Jun 2021 19:20:25 -0400 Subject: Tests/IncludeDirectories: fix copy pasta for otherlib --- Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt index dee39c8..ff52c98 100644 --- a/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt +++ b/Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt @@ -52,7 +52,7 @@ target_compile_options(somelib PRIVATE -Werror=unused-variable) # add a target which consumes a relative system include add_library(otherlib upstream.cpp) target_link_libraries(otherlib PUBLIC somelib) -target_compile_options(somelib PRIVATE -Werror=unused-variable) +target_compile_options(otherlib PRIVATE -Werror=unused-variable) macro(do_try_compile error_option) set(TC_ARGS -- cgit v0.12