Commit 3676eae7 authored by bonnell's avatar bonnell
Browse files

Ensure platforms/qwindows.dll is available for development builds on windows.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@27863 18c085ea-50e0-402c-830e-de6fd14e8384
parent 90af7573
......@@ -68,10 +68,18 @@ if(NOT VISIT_QT_SKIP_INSTALL)
if(EXISTS ${VISIT_QT_DIR}/plugins/platforms/qwindows.dll)
install(FILES ${VISIT_QT_DIR}/plugins/platforms/qwindows.dll
DESTINATION ${VISIT_INSTALLED_VERSION_BIN}/platforms
PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
GROUP_WRITE GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
PERMISSIONS OWNER_READ OWNER_WRITE
GROUP_READ GROUP_WRITE
WORLD_READ
)
foreach(CFG ${CMAKE_CONFIGURATION_TYPES})
file(COPY ${VISIT_QT_DIR}/plugins/platforms/qwindows.dll
DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CFG}/platforms/
FILE_PERMISSIONS OWNER_READ OWNER_WRITE
GROUP_READ GROUP_WRITE
WORLD_READ
)
endforeach()
else()
message(ERROR "QT installation is missing platforms/qwindows.dll")
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment