1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Tests/IncludeDirectories: fix copy pasta for otherlib

This commit is contained in:
Ben Boeckel
2021-06-02 19:20:25 -04:00
parent b094324948
commit 809f7b0c3a

View File

@@ -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