Commit 2b6a6259 authored by Jan Möbius's avatar Jan Möbius

Second try to get rid of pdb files on windows

parent 02c63645
......@@ -362,9 +362,12 @@ elseif(WIN32)
# Exclude PDB files if we build release mode
if ( CMAKE_BUILD_TYPE MATCHES "Debug" )
file(COPY "${QT_PLUGINS_DIR}/${qtplugin}" DESTINATION "${CMAKE_BINARY_DIR}/Build/QtPlugins/")
file(COPY "${QT_PLUGINS_DIR}/${qtplugin}"
DESTINATION "${CMAKE_BINARY_DIR}/Build/QtPlugins/" )
else()
file(COPY "${QT_PLUGINS_DIR}/${qtplugin}" DESTINATION "${CMAKE_BINARY_DIR}/Build/QtPlugins/" PATTERN .pdb EXCLUDE )
file(COPY "${QT_PLUGINS_DIR}/${qtplugin}"
DESTINATION "${CMAKE_BINARY_DIR}/Build/QtPlugins/"
PATTERN "*.pdb" EXCLUDE )
endif()
endforeach ()
......
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