windows environment variable.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@52540
f5534014-38df-0310-8fa8-
9805f1628bb7
# Untested, may not work if CMAKE_PREFIX_PATH gets overwritten
# somewhere. The if WIN32 in this place is annoying as well.
if( WIN32 )
- set( QT5_BASE_PATH "C:\\Qt\\Qt5.1.1\\5.1.1" )
+ set( QT5_BASE_PATH "$ENV{QT5_BASE_PATH}" )
set( CMAKE_PREFIX_PATH "${QT5_BASE_PATH}\\msvc2010" )
set( QT5_DLL_PATH "${CMAKE_PREFIX_PATH}/bin/dummy" )
set( WS_ALL_LIBS ${WS_ALL_LIBS} ${QT5_DLL_PATH} )
1a) Set WIRESHARK_BASE_DIR=c:\wireshark (the parent directory of the
library directory).
1b) set WIRESHARK_TARGET_PLATFORM=win32 (or win64)
+1c) set QT5_BASE_DIR=c:\Qt\Qt5.1.1\5.1.1 (or whatever)
2) Install cmake
3) mkdir c:\wireshark\build
4) cd c:\wireshark\build