Ticket #21039: patch-src-vidalia-CMakeLists.txt.diff

File patch-src-vidalia-CMakeLists.txt.diff, 844 bytes (added by hsivank@…, 15 years ago)
  • src/vidalia/CMakeLists.txt

    old new  
    164164## Choose the correct tray icon implementation for the current platform
    165165set(vidalia_SRCS ${vidalia_SRCS} tray/trayicon.cpp)
    166166qt4_wrap_cpp(vidalia_SRCS tray/trayicon.h)
    167 if(APPLE)
    168   set(vidalia_SRCS ${vidalia_SRCS} tray/trayicon_mac.cpp)
    169   qt4_wrap_cpp(vidalia_SRCS tray/trayicon_mac.h)
    170 else(APPLE)
     167#if(APPLE)
     168#  set(vidalia_SRCS ${vidalia_SRCS} tray/trayicon_mac.cpp)
     169#  qt4_wrap_cpp(vidalia_SRCS tray/trayicon_mac.h)
     170#else(APPLE)
    171171  ## Use Qt's QSystemTrayIcon implementation
    172172  set(vidalia_SRCS ${vidalia_SRCS} tray/trayicon_qt.cpp)
    173173  qt4_wrap_cpp(vidalia_SRCS tray/trayicon_qt.h)
    174 endif(APPLE)
     174#endif(APPLE)
    175175
    176176## Main Vidalia sources
    177177set(vidalia_SRCS ${vidalia_SRCS}