The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13902
======================================================================
Reported By: Stephen Kelly
Assigned To:
======================================================================
Project: CMake
Issue ID: 13902
Category: CMake
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-02-08 14:17 EST
Last Modified: 2013-02-08 14:17 EST
======================================================================
Summary: target_link_libraries should not accept utility
targets
Description:
Code like this should throw an error. A policy will be needed for this.
add_custom_target(check ALL
COMMAND ${CMAKE_COMMAND} -E echo check
)
target_link_libraries(check somelib)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-02-08 14:17 Stephen Kelly New Issue
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers