From 22e725fb880e74b013e434d48bb6b2a1e7d84b75 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Sat, 3 Jul 2010 08:58:25 -0600 Subject: [PATCH] Tweak for cygwin, don't convert : to ; --- Modules/FindQt4.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 95daee932..a27b9851e 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")