View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009507 | CMake | Modules | public | 2009-09-09 02:42 | 2016-06-10 14:30 | ||||
Reporter | archimboldo | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0009507: FindQt4.cmake gets semicolons out of call to FILE(TO_CMAKE_PATH ... ) | ||||||||
Description | I'm running cmake from cygwin. When it runs FindQt4.cmake, I get the following error message Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as C;/Qt/2009.03/qt/lib Warning: C;/Qt/2009.03/qt/lib does NOT exist, Qt must NOT be installed correctly. I traced it to TO_CMAKE_PATH converting C: to C; | ||||||||
Additional Information | You can reproduce the problem by running a CMakeLists.txt containing the following. If you like you can replace the EXEC_PROGRAM command with SET( QT_LIBRARY_DIR_RAW "C:\some\path" EXEC_PROGRAM( qmake ARGS "-query QT_INSTALL_LIBS" OUTPUT_VARIABLE QT_LIBRARY_DIR_RAW ) STRING( REPLACE "C:" "" QT_LIBRARY_DIR_TMP ${QT_LIBRARY_DIR_RAW} ) FILE(TO_CMAKE_PATH ${QT_LIBRARY_DIR_TMP} QT_LIBRARY_DIR_TMP) message( "Library path ${QT_LIBRARY_DIR_TMP}" ) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0017394) Clinton Stimpson (developer) 2009-09-11 17:59 |
Looks like a problem with FILE(TO_CMAKE_PATH ...), not with the FindQt4.cmake module. |
(0017402) Bill Hoffman (manager) 2009-09-11 20:55 |
I can not reproduce this: bar.cmake: FILE(TO_CMAKE_PATH c:/foo/bar PATH ) message("${PATH}") CVS CMake: cmake -P bar.cmake c:/foo/bar 2.6.4: $ /cygdrive/c/Program\ Files/CMake\ 2.6/bin/cmake -P bar.cmake c:/foo/bar |
(0017516) Bill Hoffman (manager) 2009-09-14 21:29 |
SET( QT_LIBRARY_DIR_RAW "C:\\some\\path") FILE(TO_CMAKE_PATH ${QT_LIBRARY_DIR_RAW} QT_LIBRARY_DIR_TMP) message( "Library path ${QT_LIBRARY_DIR_TMP}" ) Library path C:/some/path |
(0017519) Bill Hoffman (manager) 2009-09-14 22:26 |
OK, this could be a cygwin cmake issue... |
(0017520) Bill Hoffman (manager) 2009-09-14 22:26 |
Is this happening on Cygwin? |
(0041590) Kitware Robot (administrator) 2016-06-10 14:27 |
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 |
2009-09-09 02:42 | archimboldo | New Issue | |
2009-09-11 17:21 | Bill Hoffman | Status | new => assigned |
2009-09-11 17:21 | Bill Hoffman | Assigned To | => Clinton Stimpson |
2009-09-11 17:59 | Clinton Stimpson | Note Added: 0017394 | |
2009-09-11 17:59 | Clinton Stimpson | Assigned To | Clinton Stimpson => Bill Hoffman |
2009-09-11 20:55 | Bill Hoffman | Note Added: 0017402 | |
2009-09-14 21:29 | Bill Hoffman | Note Added: 0017516 | |
2009-09-14 21:29 | Bill Hoffman | Status | assigned => closed |
2009-09-14 21:29 | Bill Hoffman | Resolution | open => unable to reproduce |
2009-09-14 22:26 | Bill Hoffman | Note Added: 0017519 | |
2009-09-14 22:26 | Bill Hoffman | Status | closed => assigned |
2009-09-14 22:26 | Bill Hoffman | Note Added: 0017520 | |
2010-08-28 10:23 | Kovarththanan Rajaratnam | Category | CMake => Modules |
2016-06-10 14:27 | Kitware Robot | Note Added: 0041590 | |
2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
2016-06-10 14:27 | Kitware Robot | Resolution | unable to reproduce => moved |
2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |