QTfrontend/CMakeLists.txt
changeset 2421 a4b039ee2eb0
parent 2401 2a694ea2a437
child 2428 6800f8aa0184
--- a/QTfrontend/CMakeLists.txt	Sun Oct 11 20:40:03 2009 +0000
+++ b/QTfrontend/CMakeLists.txt	Sun Oct 11 22:17:50 2009 +0000
@@ -17,7 +17,6 @@
 
 # Configure for SDL
 find_package(SDL REQUIRED)
-find_package(Sparkle)
 
 include_directories(.)
 include_directories(${SDL_INCLUDE_DIR})
@@ -139,6 +138,8 @@
 	)
 
 if(APPLE)
+find_package(Sparkle)
+
 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)