mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 03:48:02 +08: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 a target which consumes a relative system include
|
||||||
add_library(otherlib upstream.cpp)
|
add_library(otherlib upstream.cpp)
|
||||||
target_link_libraries(otherlib PUBLIC somelib)
|
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)
|
macro(do_try_compile error_option)
|
||||||
set(TC_ARGS
|
set(TC_ARGS
|
||||||
|
Reference in New Issue
Block a user