You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
330 B
8 lines
330 B
9 years ago
|
add_custom_target(CustomTarget)
|
||
|
set_property(TARGET CustomTarget PROPERTY LINK_LIBRARIES)
|
||
|
set_property(TARGET CustomTarget APPEND PROPERTY LINK_LIBRARIES)
|
||
|
get_property(val TARGET CustomTarget PROPERTY LINK_LIBRARIES)
|
||
|
if (NOT "${val}" STREQUAL "")
|
||
|
message(FATAL_ERROR "LINK_LIBRARIES value is '${val}' but should be ''")
|
||
|
endif()
|