X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fmain%2FCMakeLists.txt;fp=src%2Fmain%2FCMakeLists.txt;h=036746723dfc6062e14cb29e65227d24838e6907;hp=df3d765a471e48e103ae4ca371225e1b4442af23;hb=1e40fc6bc04df8f658f677ca5be4c970f150dc10;hpb=bad087a1b604c92c7c0bf3cf818b81d26e15c1c4 diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index df3d765a..03674672 100644 --- 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) - 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) - 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)