QTfrontend/CMakeLists.txt
changeset 2400 2422ea85d100
parent 2399 ddde0ac1472b
child 2401 2a694ea2a437
--- a/QTfrontend/CMakeLists.txt	Sun Sep 27 22:25:27 2009 +0000
+++ b/QTfrontend/CMakeLists.txt	Fri Oct 02 16:49:31 2009 +0000
@@ -138,9 +138,11 @@
 	bgwidget.h
 	)
 
-if(APPLE AND SPARKLE_FOUND)
-set(hwfr_src ${hwfr_src} AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm)
-#set(hwfr_moc_hdrs ${hwfr_moc_hdrs} AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h)
+if(APPLE)
+set(hwfr_src ${hwfr_src} InstallController.cpp CocoaInitializer.mm M3Panel.mm M3InstallController.m NSWorkspace_RBAdditions.m)
+if(SPARKLE_FOUND)
+set(hwfr_src ${hwfr_src} AutoUpdater.cpp SparkleAutoUpdater.mm)
+endif()
 endif()
 
 set(hwfr_hdrs
@@ -188,6 +190,7 @@
 		${OGG_LIBRARY}
 		${VORBIS_LIBRARY}
 		${HW_LINK_LIBS}
+		IOKit
 		)
         if (SPARKLE_FOUND)
                 set(HW_LINK_LIBS ${HW_LINK_LIBS} ${SPARKLE_LIBRARY})