QTfrontend/CMakeLists.txt
changeset 2400 2422ea85d100
parent 2399 ddde0ac1472b
child 2401 2a694ea2a437
equal deleted inserted replaced
2399:ddde0ac1472b 2400:2422ea85d100
   136 	ammoSchemeModel.h
   136 	ammoSchemeModel.h
   137 	togglebutton.h
   137 	togglebutton.h
   138 	bgwidget.h
   138 	bgwidget.h
   139 	)
   139 	)
   140 
   140 
   141 if(APPLE AND SPARKLE_FOUND)
   141 if(APPLE)
   142 set(hwfr_src ${hwfr_src} AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm)
   142 set(hwfr_src ${hwfr_src} InstallController.cpp CocoaInitializer.mm M3Panel.mm M3InstallController.m NSWorkspace_RBAdditions.m)
   143 #set(hwfr_moc_hdrs ${hwfr_moc_hdrs} AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h)
   143 if(SPARKLE_FOUND)
       
   144 set(hwfr_src ${hwfr_src} AutoUpdater.cpp SparkleAutoUpdater.mm)
       
   145 endif()
   144 endif()
   146 endif()
   145 
   147 
   146 set(hwfr_hdrs
   148 set(hwfr_hdrs
   147 	binds.h
   149 	binds.h
   148 	ui_hwform.h
   150 	ui_hwform.h
   186 	set(HW_LINK_LIBS
   188 	set(HW_LINK_LIBS
   187 		${OPENAL_LIBRARY}
   189 		${OPENAL_LIBRARY}
   188 		${OGG_LIBRARY}
   190 		${OGG_LIBRARY}
   189 		${VORBIS_LIBRARY}
   191 		${VORBIS_LIBRARY}
   190 		${HW_LINK_LIBS}
   192 		${HW_LINK_LIBS}
       
   193 		IOKit
   191 		)
   194 		)
   192         if (SPARKLE_FOUND)
   195         if (SPARKLE_FOUND)
   193                 set(HW_LINK_LIBS ${HW_LINK_LIBS} ${SPARKLE_LIBRARY})
   196                 set(HW_LINK_LIBS ${HW_LINK_LIBS} ${SPARKLE_LIBRARY})
   194                 set(CMAKE_CXX_FLAGS -DSPARKLE_ENABLED)
   197                 set(CMAKE_CXX_FLAGS -DSPARKLE_ENABLED)
   195         endif()
   198         endif()