aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2013-10-11 11:11:41 +0000
committerJörg Mayer <jmayer@loplof.de>2013-10-11 11:11:41 +0000
commitf5fd46fe6d5ca4635c3423be9be30e51ab0427a5 (patch)
treea2320f81eacfedccb09e72785ae1a3312eb50574 /cmake/modules
parent28282a991d3750b240e80250c1ea10b1bb4c0192 (diff)
qtshark and wireshark(gtk2) now actually find their libs.
svn path=/trunk/; revision=52539
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindWSWinLibs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindWSWinLibs.cmake b/cmake/modules/FindWSWinLibs.cmake
index 16e30ee067..6c613753f5 100644
--- a/cmake/modules/FindWSWinLibs.cmake
+++ b/cmake/modules/FindWSWinLibs.cmake
@@ -34,7 +34,7 @@ function( WSExtendPath _LIB_PATH_LIST _PATH_FILE )
foreach( THIS_LIB_PATH ${_LIB_PATH_LIST} )
get_filename_component( LIB_PATH ${THIS_LIB_PATH} PATH )
# lib is required for linking, the dlls are in bin
- string( REPLACE "/lib" "/bin" LIB_PATH "${LIB_PATH}" )
+ string( REGEX REPLACE "/lib$" "/bin" LIB_PATH "${LIB_PATH}" )
#message( STATUS "Raw path ${THIS_LIB_PATH} processed to ${LIB_PATH}." )
set( WS_LOCAL_LIB_PATHS "${WS_LOCAL_LIB_PATHS}" ${LIB_PATH} )
endforeach()