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

7 lines
202 B
CMake

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