The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13876 ====================================================================== Reported By: Chris Harris Assigned To: ====================================================================== Project: CMake Issue ID: 13876 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-01-24 14:50 EST Last Modified: 2013-01-24 14:50 EST ====================================================================== Summary: Use of LINK_PRIVATE in target_link_libraries(...) cause all libaries to be linked private Description: Given the following CMake code:
target_link_libraries(AvogadroIO AvogadroCore) target_link_libraries(AvogadroIO LINK_PRIVATE hdf5) The LINK_PRIVATE is also applied to AvogadroCore. The workaround is to add LINK_PUBLIC: target_link_libraries(AvogadroIO LINK_PUBLIC AvogadroCore) target_link_libraries(AvogadroIO LINK_PRIVATE hdf5) Steps to Reproduce: The following dashboard entry demonstrates this failure: http://cdash.openchemistry.org/viewBuildError.php?buildid=5638 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-01-24 14:50 Chris Harris 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
