diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-06-02 23:20:25 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-06-17 18:02:52 (GMT) |
commit | 809f7b0c3af8d46610ae0963e061415b50f2a363 (patch) | |
tree | 74664fbe13e29709dd47dad743904a3fa1caf1d6 /Tests/IncludeDirectories | |
parent | b094324948291ee3fbd2ce17969157cdeab18592 (diff) | |
download | CMake-809f7b0c3af8d46610ae0963e061415b50f2a363.zip CMake-809f7b0c3af8d46610ae0963e061415b50f2a363.tar.gz CMake-809f7b0c3af8d46610ae0963e061415b50f2a363.tar.bz2 |
Tests/IncludeDirectories: fix copy pasta for otherlib
Diffstat (limited to 'Tests/IncludeDirectories')
-rw-r--r-- | Tests/IncludeDirectories/SystemIncludeDirectories/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |