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