From d2d63793c3ce266a5fe394ce2c098248469c06f5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 16 Sep 2016 17:02:12 +0200 Subject: cmake/gui: don't fixup subsystem now that mrproper does it --- gui/CMakeLists.txt | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gui') diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index f33e2a3d..eca00125 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -31,15 +31,3 @@ if(LINUX) target_link_libraries(opentrack procps) endif() -add_custom_target(fixup-qt-subsystem) - -if(MSVC) - foreach(i Qt5Core Qt5Gui Qt5Network Qt5SerialPort Qt5Widgets platforms/qwindows) - add_custom_command(TARGET fixup-qt-subsystem - POST_BUILD - COMMAND editbin -nologo -SUBSYSTEM:WINDOWS,5.01 -OSVERSION:5.1 "${i}.dll" - WORKING_DIRECTORY "${CMAKE_INSTALL_PREFIX}") - endforeach() -endif() - -add_dependencies(opentrack fixup-qt-subsystem) -- cgit v1.2.3