| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008660 | VTK | (No Category) | public | 2009-03-03 13:01 | 2016-08-12 09:55 |
|
| Reporter | Nathaniel Waisbrot | |
| Assigned To | David Partyka | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0008660: FindFREETYPE.cmake is too specific, fails for esoteric paths |
| Description | FindFREETYPE.cmake searches for a system freetype. However, it includes the hard-coded paths '/usr/include/freetype2' and '/usr/local/include/freetype2' and is therefore unable to find 'freetype/config/ftheader.h' installed under and path other that those two (even if CMake is aware of freetype's install path). |
| Additional Information | The attached patchfile corrects the issue by removing the hard-coded paths and replacing them with the more-general "PATH_SUFFIXES freetype2". |
| Tags | No tags attached. |
|
| Project | |
| Type | |
|
| Attached Files | FindFREETYPE.cmake.patch [^] (358 bytes) 2009-03-03 13:01 [Show Content] [Hide Content]--- VTK/CMake/FindFREETYPE.cmake 2007-07-25 16:12:42.000000000 -0400
+++ VTK/CMake/FindFREETYPE.cmake 2009-03-02 11:03:53.000000000 -0500
@@ -15,6 +15,5 @@
FIND_PATH(FREETYPE_INCLUDE_DIR_FTHEADER freetype/config/ftheader.h
- /usr/include/freetype2
- /usr/local/include/freetype2
+ PATH_SUFFIXES freetype2
)
FIND_LIBRARY(FREETYPE_LIBRARY freetype)
|
|