mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Tests/IncludeDirectories: fix copy pasta for otherlib
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user