Tweak for cygwin, don't convert : to ;

This commit is contained in:
Clinton Stimpson 2010-07-03 08:58:25 -06:00
parent b55da4c688
commit 22e725fb88
1 changed files with 2 additions and 2 deletions

View File

@ -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")