aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorGraham Bloice <graham.bloice@trihedral.com>2013-11-24 19:12:07 +0000
committerGraham Bloice <graham.bloice@trihedral.com>2013-11-24 19:12:07 +0000
commite36f3b052619df4a96ee78a6532b5ec8c9cf03dc (patch)
treeaab7e3c6abe1f38cdde4ecb51d8c2279f7bccd21 /cmake/modules
parent7510deeab701f6de58ed55ebb4080a5b32a8b06d (diff)
Ensure the WIRESHARK_BASE_DIR env var is in cmake format. Required for the regex in FindGTK3.cmake.
svn path=/trunk/; revision=53550
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 6c613753f5..03c384abfa 100644
--- a/cmake/modules/FindWSWinLibs.cmake
+++ b/cmake/modules/FindWSWinLibs.cmake
@@ -13,7 +13,7 @@ function( FindWSWinLibs _WS_LIB_SEARCH_PATH _LIB_HINT_VAR )
if( ARGN )
set( _PROJECT_LIB_DIR ${ARGN} )
else()
- set( _WS_BASE_DIR $ENV{WIRESHARK_BASE_DIR} )
+ file( TO_CMAKE_PATH "$ENV{WIRESHARK_BASE_DIR}" _WS_BASE_DIR )
set( _WS_TARGET_PLATFORM $ENV{WIRESHARK_TARGET_PLATFORM} )
set( _PROJECT_LIB_DIR "${_WS_BASE_DIR}/wireshark-${_WS_TARGET_PLATFORM}-libs" )
endif()