Ben Boeckel wrote: > Hi, > > Nils, the IMPORTED_TARGET feature in pkg_check_modules is nice! Thanks > for that. However, it is hidden behind the check that pkg_check_modules > uses to see if it already ran: > > if (NOT DEFINED __pkg_config_checked_${_prefix} OR > __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR > NOT ${_prefix}_FOUND) > > which means that on the second configure, the target is not created > causing build faiures. Could you please look at reordering the logic so > that the imported target is always created (if requested)? Thanks. > > Brad, this is in the rc releases; what should be done? Block the > release, undocument the feature, or wait for a patch?
Please check if https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3213b747a84a4e584e9edc6bd8c114b809b18bec fixes it for you. Eike --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers