projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89ae709
)
Fix Build on OS X 10.7, Where notification center doesn't exist.
author
Daniel Meltzer
<parallelgrapefruit@gmail.com>
Thu, 7 Mar 2013 22:42:40 +0000
(17:42 -0500)
committer
Daniel Meltzer
<parallelgrapefruit@gmail.com>
Thu, 7 Mar 2013 22:42:40 +0000
(17:42 -0500)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
c765699
..
6a99783
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-69,7
+69,10
@@
option(STATIC "Enable static building (might not be portable)" OFF)
if(APPLE)
option(DEPLOY "Mac OS X only! Adds required libs to bundle resources and create a dmg. Note: requires Qt to be built with 10.4u SDK" OFF)
if(APPLE)
option(DEPLOY "Mac OS X only! Adds required libs to bundle resources and create a dmg. Note: requires Qt to be built with 10.4u SDK" OFF)
- option(WITH_NOTIFICATION_CENTER "Enable OS X Notification Center support" ON)
+ # Notification Center is only available in > 10.8, which is Darwin v12
+ if(CMAKE_SYSTEM_VERSION VERSION_GREATER "11.9.9")
+ option(WITH_NOTIFICATION_CENTER "Enable OS X Notification Center support" ON)
+ endif(CMAKE_SYSTEM_VERSION VERSION_GREATER "11.9.9")
endif(APPLE)
# Default to embedding data in the static case
endif(APPLE)
# Default to embedding data in the static case