MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010950 | CMake | CMake | public | 2010-07-08 04:55 | 2012-07-09 06:52 |
|
Reporter | Patrick Spendrin | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-8 | |
Target Version | CMake 2.8.8 | Fixed in Version | CMake 2.8.8 | |
|
Summary | 0010950: Build error due to wrong bzip2 header |
Description | When building cmake from the release branch, build fails if we have a different header from bzip2 in CMAKE_INCLUDE_PATH. CMake uses the included bzip2 though (cmbzip2), so it also should use its own header.
To check, build CMake on Windows with attached file in the CMAKE_INCLUDE_PATH
|
Steps To Reproduce | |
Additional Information | system is windows 7 64bit with 32bit msvc compiler |
Tags | No tags attached. |
Relationships | |
Attached Files | bzlib.h (7,381) 2010-07-08 04:55 https://public.kitware.com/Bug/file/3231/bzlib.h |
|
Issue History |
Date Modified | Username | Field | Change |
2010-07-08 04:55 | Patrick Spendrin | New Issue | |
2010-07-08 04:55 | Patrick Spendrin | File Added: bzlib.h | |
2010-12-15 10:25 | David Cole | Assigned To | => Bill Hoffman |
2010-12-15 10:25 | David Cole | Status | new => assigned |
2012-01-10 13:04 | Rolf Eike Beer | Note Added: 0028238 | |
2012-01-10 15:27 | Rolf Eike Beer | Note Added: 0028241 | |
2012-01-11 03:54 | Rolf Eike Beer | Note Added: 0028257 | |
2012-01-12 02:52 | Rolf Eike Beer | Note Added: 0028275 | |
2012-01-12 02:52 | Rolf Eike Beer | Assigned To | Bill Hoffman => Rolf Eike Beer |
2012-01-12 02:52 | Rolf Eike Beer | Status | assigned => resolved |
2012-01-12 02:52 | Rolf Eike Beer | Resolution | open => fixed |
2012-01-12 02:52 | Rolf Eike Beer | Fixed in Version | => CMake 2.8.8 |
2012-01-12 02:52 | Rolf Eike Beer | Target Version | => CMake 2.8.8 |
2012-01-13 14:15 | Brad King | Assigned To | Rolf Eike Beer => Brad King |
2012-01-13 14:15 | Brad King | Note Added: 0028292 | |
2012-01-13 14:15 | Brad King | Status | resolved => feedback |
2012-01-13 14:15 | Brad King | Resolution | fixed => reopened |
2012-01-13 14:15 | Brad King | Note Added: 0028293 | |
2012-01-13 14:15 | Brad King | Status | feedback => resolved |
2012-01-13 14:15 | Brad King | Resolution | reopened => fixed |
2012-07-09 06:52 | David Cole | Note Added: 0029953 | |
2012-07-09 06:52 | David Cole | Status | resolved => closed |
Notes |
|
(0028238)
|
Rolf Eike Beer
|
2012-01-10 13:04
|
|
I have a patch that basically does this:
+ IF(BZIP2_INCLUDE_DIR MATCHES "^${CMAKE_SOURCE_DIR}.*")
+ INCLUDE_DIRECTORIES(BEFORE ${BZIP2_INCLUDE_DIR})
+ ELSE()
+ INCLUDE_DIRECTORIES(${BZIP2_INCLUDE_DIR})
+ ENDIF()
Both for zlib and bzip2, which Patrick tested. Seems to work. Should I push this? |
|
|
(0028241)
|
Rolf Eike Beer
|
2012-01-10 15:27
|
|
Pushed to topic bug10950 on stage, please review. |
|
|
(0028257)
|
Rolf Eike Beer
|
2012-01-11 03:54
|
|
|
|
(0028275)
|
Rolf Eike Beer
|
2012-01-12 02:52
|
|
|
|
(0028292)
|
Brad King
|
2012-01-13 14:15
|
|
|
|
(0028293)
|
Brad King
|
2012-01-13 14:15
|
|
|
|
(0029953)
|
David Cole
|
2012-07-09 06:52
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|