summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0040/CMP0040-NEW-missing-target.cmake
blob: 276863d7bed2cfa38d1594d24dfbc7eed9c72558 (plain)
1
2
3
4
5
cmake_policy(SET CMP0040 NEW)

add_custom_command(TARGET foobar PRE_BUILD
  COMMAND "${CMAKE_COMMAND} -E hello world"
)