CMake/Tests/CMakeOnly/TargetScope/Sib/CMakeLists.txt

7 lines
204 B
CMake

if(TARGET SubLibLocal)
message(FATAL_ERROR "SubLibLocal visible in sibling directory")
endif()
if(NOT TARGET SubLibGlobal)
message(FATAL_ERROR "SubLibGlobal not visible in sibling directory")
endif()