MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0009685 | CMake | Modules | public | 2009-10-08 16:39 | 2010-09-01 00:13 |
Reporter | Shane Dixon | ||||
Assigned To | Philip Lowman | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0009685: FindGnuTLS.cmake returns wront library path | ||||
Description | When searching for GnuTLS on windows, the path gets returned wrong for the headers: -- GNUTLS_LIBRARY C:/Program Files/GnuTLS-2.9.7/lib/libgnutls.lib -- GNUTLS_INCLUDE_DIR C:/Program Files/GnuTLS-2.9.7/include/gnutls It looks for gnutls.h but if you look in gnutls.h, all the other includes are framed as "gnutls/*.h". The correct include path should be "C:/Program Files/GnuTLS-2.9.7/include". I fixed this by modifying the find_path call to: FIND_PATH(GNUTLS_INCLUDE_DIR gnutls/gnutls.h HINTS ${PC_GNUTLS_INCLUDEDIR} ${PC_GNUTLS_INCLUDE_DIRS} ) This finds the right path so now in the source you can include using "gnutls/gnutls.h" and it works. | ||||
Steps To Reproduce | |||||
Additional Information | Attached is my modified version that works correctly. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | FindGnuTLS.cmake (2,333) 2009-10-08 16:39 https://public.kitware.com/Bug/file/2545/FindGnuTLS.cmake | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-10-08 16:39 | Shane Dixon | New Issue | |||
2009-10-08 16:39 | Shane Dixon | File Added: FindGnuTLS.cmake | |||
2009-10-08 16:41 | Shane Dixon | Note Added: 0018048 | |||
2009-10-08 22:08 | Philip Lowman | Status | new => assigned | ||
2009-10-08 22:08 | Philip Lowman | Assigned To | => Philip Lowman | ||
2009-10-08 22:52 | Philip Lowman | Note Added: 0018049 | |||
2009-10-08 22:52 | Philip Lowman | Status | assigned => resolved | ||
2009-10-08 22:52 | Philip Lowman | Resolution | open => fixed | ||
2010-09-01 00:13 | Philip Lowman | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|