View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015250 | CMake | Modules | public | 2014-11-13 12:38 | 2015-06-01 08:38 | ||||
Reporter | Felix Geyer | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.0.2 | ||||||||
Target Version | CMake 3.2 | Fixed in Version | CMake 3.2 | ||||||
Summary | 0015250: cmake --find-package ignores multi-arch dir | ||||||||
Description | cmake --find-package ignores multi-arch dirs when looking for the library. In Modules/CMakeFindPackageMode.cmake it sets CMAKE_${LANGUAGE}_LANGUAGE_ARCHITECTURE which I believe is a typo. It should be CMAKE_${LANGUAGE}_LIBRARY_ARCHITECTURE. It also doesn't set the CMAKE_LIBRARY_ARCHITECTURE variable. | ||||||||
Steps To Reproduce | Steps to reproduce in Debian unstable: # apt-get install cmake libgdcm2-dev # cmake --find-package -DNAME=GDCM -DLANGUAGE=CXX -DCOMPILER_ID=GNU -DMODE=COMPILE GDCM not found. CMake Error: Problem processing arguments. Aborting. with the attached patch: # cmake --find-package -DNAME=GDCM -DLANGUAGE=CXX -DCOMPILER_ID=GNU -DMODE=COMPILE -I/usr/include/gdcm-2.4 The gdcm cmake files are located in /usr/lib/x86_64-linux-gnu/gdcm-2.4/ | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmake_findpackage_multiarch.patch [^] (823 bytes) 2014-11-13 12:38 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0037741) Brad King (manager) 2015-01-19 10:49 |
I've applied the patch with a minor tweak: CMakeFindPackageMode: Fix Debian multiarch default guess http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=48984958 [^] Please test. |
(0038850) Robert Maynard (manager) 2015-06-01 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-11-13 12:38 | Felix Geyer | New Issue | |
2014-11-13 12:38 | Felix Geyer | File Added: cmake_findpackage_multiarch.patch | |
2014-11-13 13:06 | Brad King | Assigned To | => Alex Neundorf |
2014-11-13 13:06 | Brad King | Status | new => assigned |
2014-11-13 13:06 | Brad King | Target Version | => CMake 3.2 |
2015-01-19 10:29 | Brad King | Target Version | CMake 3.2 => |
2015-01-19 10:49 | Brad King | Note Added: 0037741 | |
2015-01-19 10:50 | Brad King | Assigned To | Alex Neundorf => |
2015-01-19 10:50 | Brad King | Status | assigned => acknowledged |
2015-01-19 10:50 | Brad King | Target Version | => CMake 3.2 |
2015-01-20 09:15 | Brad King | Status | acknowledged => resolved |
2015-01-20 09:15 | Brad King | Resolution | open => fixed |
2015-01-20 09:15 | Brad King | Fixed in Version | => CMake 3.2 |
2015-06-01 08:38 | Robert Maynard | Note Added: 0038850 | |
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |