[cmake-developers] [CMake 0013588]: target_link_libraries fails if one of the libraries is NOTFOUND
Mantis Bug Tracker
mantis at public.kitware.com
Mon Oct 15 04:33:48 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13588
======================================================================
Reported By: vkaramov
Assigned To:
======================================================================
Project: CMake
Issue ID: 13588
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-10-15 04:33 EDT
Last Modified: 2012-10-15 04:33 EDT
======================================================================
Summary: target_link_libraries fails if one of the libraries
is NOTFOUND
Description:
My target which is dynamic library, uses some static libs:
target_link_libraries(${lib_name}
debug ${do_scoring_debug}
optimized ${do_scoring}
)
Steps to Reproduce:
When I tried to build Release configuration of my library, build fails because
do_scoring_debug == NOTFOUND at that time.
It seems strange to me, because linker doesn't need *Debug* version of
${do_scoring} when building *Release* version of target.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-10-15 04:33 vkaramov New Issue
======================================================================
More information about the cmake-developers
mailing list