qtshark and wireshark(gtk2) now actually find their libs.

svn path=/trunk/; revision=52539
This commit is contained in:
Jörg Mayer 2013-10-11 11:11:41 +00:00
parent 28282a991d
commit f5fd46fe6d
2 changed files with 5 additions and 6 deletions

View File

@ -374,7 +374,10 @@ if(BUILD_qtshark)
# Untested, may not work if CMAKE_PREFIX_PATH gets overwritten
# somewhere. The if WIN32 in this place is annoying as well.
if( WIN32 )
set(CMAKE_PREFIX_PATH "C:\\Qt\\Qt5.1.1\\5.1.1\\msvc2010\\")
set( QT5_BASE_PATH "C:\\Qt\\Qt5.1.1\\5.1.1" )
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} )
endif()
else()
set(PACKAGELIST ${PACKAGELIST} Qt4)
@ -641,10 +644,6 @@ endif()
include(gmxTestLargeFiles)
gmx_test_large_files(GMX_LARGEFILES)
#Platform specific
#if(UNIX)
#endif()
if(APPLE)
#
# We assume that APPLE means OS X so that we have the OS X

View File

@ -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()