summaryrefslogtreecommitdiffstats
path: root/cmake/QtBuild.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/QtBuild.cmake')
-rw-r--r--cmake/QtBuild.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index 08b04e42ea..854a5f3a45 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -1657,12 +1657,6 @@ function(add_qt_executable name)
endif()
- if(WIN32)
- # Workaround for not having ported the winmain / qtmain static library
- # which is always linked in by qmake.
- set_target_properties("${name}" PROPERTIES WIN32_EXECUTABLE 0)
- endif()
-
if(NOT arg_NO_INSTALL)
qt_install(TARGETS "${name}"
RUNTIME DESTINATION "${arg_INSTALL_DIRECTORY}"