git-svn-id: svn://db.shs.com.ru/libs@252 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -92,6 +92,11 @@ macro(find_qt)
|
||||
#message("Qt5: plugins dir: ${Qt5_PLUGINS_DIR}")
|
||||
break()
|
||||
endforeach()
|
||||
if ("x${Qt5_PLUGINS_DIR}" STREQUAL "x")
|
||||
string(FIND "${Qt5_BIN}" "/" _ind REVERSE)
|
||||
string(SUBSTRING "${Qt5_BIN}" 0 ${_ind} _l)
|
||||
set(Qt5_PLUGINS_DIR "${_l}/plugins")
|
||||
endif()
|
||||
if (NOT _QT5_MSG)
|
||||
message(STATUS "Found Qt5: ${_Qt5_qmake} (found version \"${Qt5_VERSION}\")")
|
||||
set(_QT5_MSG 1 CACHE BOOL "msg_qt5" FORCE)
|
||||
|
||||
Reference in New Issue
Block a user