QTfrontend/CMakeLists.txt
changeset 2261 57e99c908e7c
parent 2239 d7b5c65f7544
child 2336 66c751f7a28e
equal deleted inserted replaced
2260:31756e21c436 2261:57e99c908e7c
   135 	ammoSchemeModel.h
   135 	ammoSchemeModel.h
   136 	togglebutton.h
   136 	togglebutton.h
   137 	bgwidget.h
   137 	bgwidget.h
   138 	)
   138 	)
   139 
   139 
       
   140 if(APPLE)
       
   141 find_package(Sparkle REQUIRED)
       
   142 set(hwfr_src ${hwfr_src} AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm)
       
   143 #set(hwfr_moc_hdrs ${hwfr_moc_hdrs} AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h)
       
   144 endif(APPLE)
       
   145 
   140 set(hwfr_hdrs
   146 set(hwfr_hdrs
   141 	binds.h
   147 	binds.h
   142 	ui_hwform.h
   148 	ui_hwform.h
   143 	predefteams.h
   149 	predefteams.h
   144 	KB.h
   150 	KB.h
   181 	set(HW_LINK_LIBS
   187 	set(HW_LINK_LIBS
   182 		${OPENAL_LIBRARY}
   188 		${OPENAL_LIBRARY}
   183 		${OGG_LIBRARY}
   189 		${OGG_LIBRARY}
   184 		${VORBIS_LIBRARY}
   190 		${VORBIS_LIBRARY}
   185 		${HW_LINK_LIBS}
   191 		${HW_LINK_LIBS}
       
   192 		${SPARKLE_LIBRARY}
   186 		)
   193 		)
   187 endif(APPLE)
   194 endif(APPLE)
   188 
   195 
   189 
   196 
   190 if(WIN32 AND NOT UNIX)
   197 if(WIN32 AND NOT UNIX)