View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016008 | CMake | Modules | public | 2016-03-06 10:26 | 2016-06-10 14:31 | ||||
Reporter | Egor P. | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Windows | OS | Windows 10 | OS Version | 10 | ||||
Product Version | CMake 3.4.3 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016008: FindPostgreSQL.cmake return relative lib path | ||||||||
Description | Bottom of FindPostgreSQL.cmake: --- if(PostgreSQL_FOUND) set(PostgreSQL_INCLUDE_DIRS ${PostgreSQL_INCLUDE_DIR} ${PostgreSQL_TYPE_INCLUDE_DIR} ) set(PostgreSQL_LIBRARY_DIRS ${PostgreSQL_LIBRARY_DIR} ) set(PostgreSQL_LIBRARIES ${PostgreSQL_LIBRARY_TO_FIND}) endif() --- Value in ${PostgreSQL_LIBRARIES} is 'pq' or 'libpq' instead of absolute path. And the page https://cmake.org/cmake/help/v3.0/command/link_directories.html [^] stated: --- Note that this command is rarely necessary. Library locations returned by find_package() and find_library() are absolute paths. --- So, the return value probably should be ${PostgreSQL_LIBRARY_DIRS}/${PostgreSQL_LIBRARIES} | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042959) 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 |
2016-03-06 10:26 | Egor P. | New Issue | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042959 | |
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 |