MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013427 | CMake | CMake | public | 2012-07-19 23:03 | 2012-12-03 07:46 |
Reporter | Randy O'Reilly | ||||
Assigned To | Clinton Stimpson | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Apple Mac | OS | OS X | OS Version | 10.7.4 |
Product Version | CMake 2.8.8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013427: FIND_LIBRARY fails to find _debug libraries in FindQt4 on Mac | ||||
Description | The following lines of code are used to find the QtCore library in release and debug formats -- the release version succeeds, while the debug fails (sets to -NOTFOUND), despite the fact that QtCore_debug exists, as the list shows. I tried all manner of copying things directly into the frameworks dir instead of having symlinks, and creating all the other versions of the names, moving the other things named _debug out of the way, etc. nothing seemed to work. totally bizarre! hopefully there is a fix. As a work-around I just aded QtCore to the NAMES list for the debug case and that works given that I know I have debug libraries, but obviously is not a good general solution. Thanks for an excellent system! FIND_LIBRARY(QT_QTCORE_LIBRARY_RELEASE NAMES QtCore${QT_LIBINFIX} QtCore${QT_LIBINFIX}4 HINTS ${QT_LIBRARY_DIR_TMP} NO_DEFAULT_PATH ) FIND_LIBRARY(QT_QTCORE_LIBRARY_DEBUG NAMES QtCore${QT_LIBINFIX}_debug QtCore${QT_LIBINFIX}d QtCore${QT_LIBINFIX}d4 HINTS ${QT_LIBRARY_DIR_TMP} NO_DEFAULT_PATH ) 52 shadow:.../Frameworks/QtCore.framework#list total 40 drwxrwxr-x 10 root admin 340 Jul 19 20:59 . drwxr-xr-x 58 root wheel 1972 Jul 19 03:26 .. drwxrwxr-x 3 root admin 102 Jul 19 11:57 Contents lrwxr-xr-x 1 504 wheel 18 Jul 19 02:07 Headers -> Versions/4/Headers lrwxr-xr-x 1 504 wheel 17 Jul 19 02:07 QtCore -> Versions/4/QtCore -rw-rw-r-- 1 root admin 989 May 7 21:42 QtCore.prl lrwxr-xr-x 1 504 wheel 23 Jul 19 11:57 QtCore_debug -> Versions/4/QtCore_debug drwxrwxr-x 3 root admin 102 Jun 15 2010 QtCore_debug.dSYM -rw-rw-r-- 1 root admin 1006 May 7 21:22 QtCore_debug.prl drwxrwxr-x 5 root admin 170 Jul 19 11:57 Versions | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-07-19 23:03 | Randy O'Reilly | New Issue | |||
2012-07-20 00:02 | Clinton Stimpson | Note Added: 0030091 | |||
2012-07-20 00:02 | Clinton Stimpson | Status | new => resolved | ||
2012-07-20 00:02 | Clinton Stimpson | Resolution | open => no change required | ||
2012-07-20 00:02 | Clinton Stimpson | Assigned To | => Clinton Stimpson | ||
2012-12-03 07:46 | David Cole | Note Added: 0031802 | |||
2012-12-03 07:46 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|