The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=14276 ====================================================================== Reported By: Patrick Mihelich Assigned To: ====================================================================== Project: CMake Issue ID: 14276 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-07-07 21:16 EDT Last Modified: 2013-07-07 21:16 EDT ====================================================================== Summary: cmake --find-package doesn't handle debug/optimized/general keywords Description: CMake find/config modules may return libraries prefixed with "debug", "optimized" or "general" keywords to link different libraries depending on the build type. These are handled specially by target_link_libraries. The --find-package mode treats them as libraries to link against instead.
Steps to Reproduce: With the Ubuntu system install of protobuf: $ cmake --find-package -DNAME=Protobuf -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=LINK -rdynamic -loptimized -lprotobuf -ldebug -lprotobuf -ldebug ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-07-07 21:16 Patrick MihelichNew 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
