From 21bcd56a6952f6ec06d1911c9d0c2034f9e2c907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Fri, 27 Sep 2013 22:30:34 +0000 Subject: Fix a typo (a missed replace) svn path=/trunk/; revision=52234 --- cmake/modules/FindWSWinLibs.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/FindWSWinLibs.cmake b/cmake/modules/FindWSWinLibs.cmake index 3442e84ed0..f98f58c1a8 100644 --- a/cmake/modules/FindWSWinLibs.cmake +++ b/cmake/modules/FindWSWinLibs.cmake @@ -15,8 +15,8 @@ function(FindWSWinLibs _WS_LIB_SEARCH_PATH _LIB_HINT_VAR) set( _PROJECT_LIB_DIR "${_WS_BASE_DIR}/wireshark-${_WS_TARGET_PLATFORM}-libs" ) file( GLOB _SUBDIR "${_PROJECT_LIB_DIR}/*" ) foreach( _DIR ${_SUBDIR} ) - if( IS_DIRECTORY ${dir} ) - if( "${_DIR}" matches ".*/${_WS_LIB_SEARCH_PATH}" ) + if( IS_DIRECTORY ${_DIR} ) + if( "${_DIR}" MATCHES ".*/${_WS_LIB_SEARCH_PATH}" ) set( ${_LIB_HINT_VAR} ${_DIR} PARENT_SCOPE ) endif() endif() -- cgit v1.2.3