projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake: Fix source-specific compile definitions
[quassel.git]
/
src
/
main
/
CMakeLists.txt
diff --git
a/src/main/CMakeLists.txt
b/src/main/CMakeLists.txt
index
df3d765
..
0367467
100644
(file)
--- a/
src/main/CMakeLists.txt
+++ b/
src/main/CMakeLists.txt
@@
-10,11
+10,11
@@
endfunction()
# We need to initialize the appropriate resources, so let's give our main.cpp some hints
if (EMBED_DATA)
# We need to initialize the appropriate resources, so let's give our main.cpp some hints
if (EMBED_DATA)
- set_
source_files_properties(main.cpp PROPERTIES
COMPILE_DEFINITIONS EMBED_DATA)
+ set_
property(SOURCE main.cpp APPEND PROPERTY
COMPILE_DEFINITIONS EMBED_DATA)
endif()
if (HAVE_UMASK)
endif()
if (HAVE_UMASK)
- set_
source_files_properties(main.cpp PROPERTIES
COMPILE_DEFINITIONS HAVE_UMASK)
+ set_
property(SOURCE main.cpp APPEND PROPERTY
COMPILE_DEFINITIONS HAVE_UMASK)
endif()
if (WITH_BUNDLED_ICONS)
endif()
if (WITH_BUNDLED_ICONS)