diff options
author | Cristian Adam <cristian.adam@qt.io> | 2019-06-05 15:20:21 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-05 14:06:09 +0000 |
commit | 9298033ed6e6e67cce89243f44b7ce77018d0e62 (patch) | |
tree | 87981660610c5541a11f6435ceaf05f4da6c75c5 /cmake/QtBuild.cmake | |
parent | 016351d267d60d737cc472dad51e96797a10f692 (diff) |
CMake: Add WinMain support
Change-Id: I85c56555bc47dcf348daeb3435c621529aa2d381
Fixes: QTBUG-75195
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtBuild.cmake')
-rw-r--r-- | cmake/QtBuild.cmake | 6 |
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}" |