projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake: Set -DHAVE_UMASK only where it's needed
[quassel.git]
/
src
/
main
/
CMakeLists.txt
diff --git
a/src/main/CMakeLists.txt
b/src/main/CMakeLists.txt
index
60efe51
..
df3d765
100644
(file)
--- a/
src/main/CMakeLists.txt
+++ b/
src/main/CMakeLists.txt
@@
-13,6
+13,14
@@
if (EMBED_DATA)
set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS EMBED_DATA)
endif()
set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS EMBED_DATA)
endif()
+if (HAVE_UMASK)
+ set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS HAVE_UMASK)
+endif()
+
+if (WITH_BUNDLED_ICONS)
+ set_property(SOURCE main.cpp APPEND PROPERTY COMPILE_DEFINITIONS WITH_BUNDLED_ICONS)
+endif()
+
# Build the executables
if (WANT_CORE)
add_executable(quasselcore main.cpp)
# Build the executables
if (WANT_CORE)
add_executable(quasselcore main.cpp)