summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VSSolution/CMP0143-WARN-check.cmake
blob: 2d9829ceff74761326ca6b9c9918cd29e59da0af (plain)
1
2
3
4
5
6
getProjectNames(projects)

list(FIND projects "CMakePredefinedTargets" found)
  if(NOT (found EQUAL "-1"))
    error("CMakePredefinedTargets should not be defined when CMP0143 is OLD!")
endif()