equal
deleted
inserted
replaced
169 |
169 |
170 if(APPLE) |
170 if(APPLE) |
171 set(hwfr_src ${hwfr_src} InstallController.cpp CocoaInitializer.mm M3Panel.mm M3InstallController.m NSWorkspace_RBAdditions.m) |
171 set(hwfr_src ${hwfr_src} InstallController.cpp CocoaInitializer.mm M3Panel.mm M3InstallController.m NSWorkspace_RBAdditions.m) |
172 set(HW_LINK_LIBS IOKit) |
172 set(HW_LINK_LIBS IOKit) |
173 |
173 |
174 find_package(Sparkle) |
174 if(NOT NOAUTOUPDATE) |
175 if(SPARKLE_FOUND) |
175 find_package(Sparkle) |
176 add_definitions(-DSPARKLE_ENABLED) |
176 if(SPARKLE_FOUND) |
177 set(hwfr_src ${hwfr_src} AutoUpdater.cpp SparkleAutoUpdater.mm) |
177 add_definitions(-DSPARKLE_ENABLED) |
178 set(HW_LINK_LIBS ${SPARKLE_LIBRARY} ${HW_LINK_LIBS}) |
178 set(hwfr_src ${hwfr_src} AutoUpdater.cpp SparkleAutoUpdater.mm) |
|
179 set(HW_LINK_LIBS ${SPARKLE_LIBRARY} ${HW_LINK_LIBS}) |
|
180 endif() |
179 endif() |
181 endif() |
180 endif() |
182 endif() |
181 |
183 |
182 |
184 |
183 add_executable(hedgewars WIN32 |
185 add_executable(hedgewars WIN32 |