View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014337 | CMake | CMake | public | 2013-08-03 12:30 | 2016-06-10 14:31 | ||||
Reporter | Boulougou | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | x86_64 | OS | Ubuntu | OS Version | 12.10 | ||||
Product Version | CMake 2.8.9 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014337: CMAKE_FIND_ROOT_PATH is ignored in CMake 2.8.9, works for CMake 2.8.7 | ||||||||
Description | I recently checked out my project on an Ubuntu 12.10 installation that has CMake 2.8.9. Until now I was working on a machine with older cmake version(CMake 2.8.7) I have a toolchain file for cross compilation that sets CMAKE_FIND_ROOT_PATH variable. And I have several FindXXXX() in my scripts that search for installed libraries. However when I run cmake(on the new machine) it complains that it cannot find the library(openal specifically). Adding a message(${CMAKE_FIND_ROOT_PATH}) at top of cmake-2.8/Modules/FindOpenAL.cmake reveals that CMAKE_FIND_ROOT_PATH has the correct value. I downloaded the latest version(cmake-2.8.11.2-Linux-i386.tar.gz) and it has the same behavior. I tried with cmake-2.8.7-Linux-i386.tar.gz and it worked. Exactly the same toolchain file, same CMakeLists.txt files, just different cmake binary. I checked documentation and I didn't any major difference between CMake 2.8.7 and CMake 2.8.9. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035399) Dmitriy Vilkov (reporter) 2014-03-14 06:43 edited on: 2014-03-14 07:01 |
I have the same issue with CMake 2.8.12. Even "ONLY_CMAKE_FIND_ROOT_PATH" for find_path does not help. But setting "PATHS ${CMAKE_FIND_ROOT_PATH}" and "NO_CMAKE_FIND_ROOT_PATH" works. |
(0039342) Eric Beuque (reporter) 2015-08-28 04:21 |
I got the same with CMake 3.3.1. I compile with on Windows 7 using a Mingw32 compiler (i686-4.8.2-posix-dwarf-rt_v3-rev4). Trying to find include fails. I needed to add path in the INCLUDE env variable to get it works. |
(0042343) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-08-03 12:30 | Boulougou | New Issue | |
2014-03-14 06:43 | Dmitriy Vilkov | Note Added: 0035399 | |
2014-03-14 06:44 | Dmitriy Vilkov | Note Edited: 0035399 | |
2014-03-14 07:01 | Dmitriy Vilkov | Note Edited: 0035399 | |
2015-08-28 04:21 | Eric Beuque | Note Added: 0039342 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042343 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |