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 ====================================================================== -- 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