The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14041
======================================================================
Reported By: Matthieu Gallien
Assigned To:
======================================================================
Project: CMake
Issue ID: 14041
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-03-26 09:56 EDT
Last Modified: 2013-03-26 09:56 EDT
======================================================================
Summary: In CMake 2.8.11-rc1, CMAKE_FINC_ROOT_PATH is not
used when loading a Config file or importing targets
Description:
I am doing cross compilation with oe-core and bitbake. I am using Config files
and exported targets. I am using cmake 2.8.11-rc1.
The config file is generated with configure_package_config_file. The macro
set_and_check is not using CMAKE_FIND_ROOT_PATH to locate the path or files set.
It makes it fail when doing cross compilation with a path set in
CMAKE_FIND_ROOT_PATH.
The same problem is present in the exported target file. I am using :
install(EXPORT QtJolieTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE
QtJolieTargets.cmake NAMESPACE KF5:: )
The same checking of file existence is present and is also not using
CMAKE_FIND_ROOT_PATH. This makes the import fail.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-03-26 09:56 Matthieu GallienNew Issue
2013-03-26 09:56 Matthieu GallienFile Added:
0001-takes-into-account-CMAKE_FIND_ROOT_PATH-when-checkin.patch
======================================================================
--
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