diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2010-07-03 14:58:25 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2010-07-03 14:58:25 (GMT) |
commit | 22e725fb880e74b013e434d48bb6b2a1e7d84b75 (patch) | |
tree | 9c8f5bb68bbdec6d2d5771e781fe8de1b73f2162 /Modules | |
parent | b55da4c688bbf55b442908464e0f7e2e41c937a3 (diff) | |
download | CMake-22e725fb880e74b013e434d48bb6b2a1e7d84b75.zip CMake-22e725fb880e74b013e434d48bb6b2a1e7d84b75.tar.gz CMake-22e725fb880e74b013e434d48bb6b2a1e7d84b75.tar.bz2 |
Tweak for cygwin, don't convert : to ;
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt4.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 95daee9..a27b985 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -560,9 +560,9 @@ IF (QT4_QMAKE_FOUND) OUTPUT_VARIABLE qt_mkspecs_dirs ) # do not replace : on windows as it might be a drive letter # and windows should already use ; as a separator - IF(UNIX) + IF(NOT WIN32) STRING(REPLACE ":" ";" qt_mkspecs_dirs "${qt_mkspecs_dirs}") - ENDIF(UNIX) + ENDIF(NOT WIN32) set(qt_cross_paths) foreach(qt_cross_path ${CMAKE_FIND_ROOT_PATH}) set(qt_cross_paths ${qt_cross_paths} "${qt_cross_path}/mkspecs") |