aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-09-27 22:30:34 +0000
committerJörg Mayer <jmayer@loplof.de>2013-09-27 22:30:34 +0000
commit21bcd56a6952f6ec06d1911c9d0c2034f9e2c907 (patch)
tree12ea84303a140b7500be0fe1ba0928d6a4ce551c
parent1306b0f349054d89d7b95d99e8189da724664d3c (diff)
Fix a typo (a missed replace)
svn path=/trunk/; revision=52234
-rw-r--r--cmake/modules/FindWSWinLibs.cmake4
1 files 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()