SVN commit 622373 by neundorf:

cosmetic fix, now the parameter for GUI apps is handled the same way both under 
Windows and OSX

Alex

CCMAIL: [email protected]

It does still work under windows, right ?



 M  +7 -5      KDE4Macros.cmake  


--- trunk/KDE/kdelibs/cmake/modules/KDE4Macros.cmake #622372:622373
@@ -627,19 +627,21 @@
    set(_type "GUI")
 
    # determine additional parameters for add_executable()
+   # for GUI apps, create a bundle on OSX
    if (APPLE)
       set(_add_executable_param MACOSX_BUNDLE)
    endif (APPLE)
 
+   # for GUI apps, this disables the additional console under Windows
+   if (WIN32)
+      set(_add_executable_param WIN32)
+   endif (WIN32)
+
    if (_nogui)
       set(_type "NOGUI")
       set(_add_executable_param)
-   else (_nogui)
-     if (WIN32)
-       set(_add_executable_param WIN32)
-     endif (WIN32)
    endif (_nogui)
-   
+
    if (_uninst)
       set(_type "RUN_UNINSTALLED")
    endif (_uninst)
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to