projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a2b34a0
)
don't use umask on Windows
author
Daniel Albers
<daniel@lbe.rs>
Mon, 27 Feb 2012 22:00:14 +0000
(23:00 +0100)
committer
Daniel Albers
<daniel@lbe.rs>
Mon, 27 Feb 2012 23:08:54 +0000
(
00:08
+0100)
Fixes #1139
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
9899915
..
967715e
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-399,10
+399,12
@@
if(HAVE_INDICATEQT)
add_definitions(-DXDG_APPS_INSTALL_DIR=${XDG_APPS_INSTALL_DIR})
endif(HAVE_INDICATEQT)
add_definitions(-DXDG_APPS_INSTALL_DIR=${XDG_APPS_INSTALL_DIR})
endif(HAVE_INDICATEQT)
-check_function_exists(umask HAVE_UMASK)
-if(HAVE_UMASK)
- add_definitions(-DHAVE_UMASK)
-endif(HAVE_UMASK)
+if(NOT WIN32)
+ check_function_exists(umask HAVE_UMASK)
+ if(HAVE_UMASK)
+ add_definitions(-DHAVE_UMASK)
+ endif(HAVE_UMASK)
+endif(NOT WIN32)
# We need to create a version.gen
# For this, we create our genversion binary and make sure it is run every time.
# We need to create a version.gen
# For this, we create our genversion binary and make sure it is run every time.