From 9b53104d3fe4dfdd7506ffd49e6195a65d514ba5 Mon Sep 17 00:00:00 2001 From: Andreas Pakulat Date: Fri, 21 Dec 2007 18:43:55 +0000 Subject: CMAKE_LIBRARY_PATH is AFAIK an environment variable and thus contains native paths, so convert them to cmake paths before handing them to find_library svn path=/trunk/KDE/kdelibs/; revision=751355 --- modules/FindKDEWIN32.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/FindKDEWIN32.cmake b/modules/FindKDEWIN32.cmake index 5d4499af..7e9c36a5 100644 --- a/modules/FindKDEWIN32.cmake +++ b/modules/FindKDEWIN32.cmake @@ -27,12 +27,12 @@ if (WIN32) ) # search for kdewin32 in the default install directory for applications (default of (n)make install) - + FILE(TO_CMAKE_PATH "${CMAKE_LIBRARY_PATH}" _cmakeLibraryPathCmakeStyle) find_library_with_debug(KDEWIN32_LIBRARY WIN32_DEBUG_POSTFIX d NAMES kdewin32 PATHS - ${CMAKE_LIBRARY_PATH} + ${_cmakeLibraryPathCmakeStyle} ${CMAKE_INSTALL_PREFIX}/lib NO_SYSTEM_ENVIRONMENT_PATH ) -- cgit v1.2.1