diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-10-10 17:13:02 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-10-10 17:13:02 +0000 |
commit | 7c25a38963c488d22bca280622fb15d63abf6846 (patch) | |
tree | 8e99b38d8e47716f4c94b9a6421ddc38a39a3dfb /cmake/modules/FindWSWinLibs.cmake | |
parent | a50dee3286db96e5749e21bba6f9b4bab3fb6dfc (diff) |
lib is required for linking, the dlls are in bin
And with this change, I'm finally able to run the executables in the
top builddir.
svn path=/trunk/; revision=52498
Diffstat (limited to 'cmake/modules/FindWSWinLibs.cmake')
-rw-r--r-- | cmake/modules/FindWSWinLibs.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/FindWSWinLibs.cmake b/cmake/modules/FindWSWinLibs.cmake index 208d626ea0..dfb8203092 100644 --- a/cmake/modules/FindWSWinLibs.cmake +++ b/cmake/modules/FindWSWinLibs.cmake @@ -29,6 +29,8 @@ function(WSExtendPath _LIB_PATH_LIST _PATH_FILE) #message( STATUS "All libs: ${_LIB_PATH_LIST}." ) 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}" ) #message( STATUS "Raw path ${THIS_LIB_PATH} processed to ${LIB_PATH}." ) set( WS_LOCAL_LIB_PATHS "${WS_LOCAL_LIB_PATHS}" ${LIB_PATH} ) endforeach() |