summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPolicies/PolicyList.cmake
blob: c290b65a611d9a1b91887fde8421fb74a9e93f53 (plain)
1
2
3
4
5
6
7
8

enable_language(CXX)

add_library(empty empty.cpp)
target_compile_definitions(empty
  PRIVATE
    $<$<TARGET_POLICY:NOT_A_POLICY>:SOME_DEFINE>
)