~ubuntu-branches/ubuntu/utopic/cmake/utopic

« back to all changes in this revision

Viewing changes to Tests/CompatibleInterface/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-10-10 12:54:39 UTC
  • mfrom: (1.14.7)
  • Revision ID: package-import@ubuntu.com-20131010125439-h0ahaj004on6oj92
Tags: 2.8.12-0ubuntu1
New upstream release LP: #1246701

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
# properties defined only in the interface - they should be implicitly zero
58
58
set_property(TARGET iface2
59
59
  APPEND PROPERTY
60
 
    LINK_INTERFACE_LIBRARIES $<$<BOOL:$<TARGET_PROPERTY:BOOL_PROP4>>:nonexistant>
 
60
    LINK_INTERFACE_LIBRARIES $<$<BOOL:$<TARGET_PROPERTY:BOOL_PROP4>>:nonexistent>
61
61
)
62
62
target_link_libraries(CompatibleInterface iface2
63
 
      $<$<BOOL:$<TARGET_PROPERTY:Iface2_PROP>>:nonexistant>
 
63
      $<$<BOOL:$<TARGET_PROPERTY:Iface2_PROP>>:nonexistent>
64
64
)
65
65
# Test that this does not segfault:
66
66
target_compile_definitions(CompatibleInterface
70
70
 
71
71
# The COMPATIBLE_INTERFACE_* properties are only read from dependencies
72
72
# in the interface. Populating it on the CompatibleInterface target does
73
 
# not have any affect on the interpretation of the INTERFACE variants
 
73
# not have any effect on the interpretation of the INTERFACE variants
74
74
# in dependencies.
75
75
set_property(TARGET iface1 PROPERTY
76
76
  INTERFACE_NON_RELEVANT_PROP ON