X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;fp=src%2Fcore%2FCMakeLists.txt;h=ef0f7c0ac1a5c335d2fc0781f085b306dd05d2b9;hp=e571708cbf938e6759f8d29bb6d370a00d6bd041;hb=1e40fc6bc04df8f658f677ca5be4c970f150dc10;hpb=bad087a1b604c92c7c0bf3cf818b81d26e15c1c4 diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index e571708c..ef0f7c0a 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -52,13 +52,13 @@ if (HAVE_SSL) endif() if (HAVE_UMASK) - set_source_files_properties(oidentdconfiggenerator.cpp PROPERTIES COMPILE_DEFINITIONS HAVE_UMASK) + set_property(SOURCE oidentdconfiggenerator.cpp APPEND PROPERTY COMPILE_DEFINITIONS HAVE_UMASK) endif() if (Ldap_FOUND) target_sources(${TARGET} PRIVATE ldapauthenticator.cpp) target_link_libraries(${TARGET} PRIVATE Ldap::Ldap) - set_source_files_properties(core.cpp PROPERTIES COMPILE_DEFINITIONS HAVE_LDAP) + set_property(SOURCE core.cpp APPEND PROPERTY COMPILE_DEFINITIONS HAVE_LDAP) endif() if (Qca-qt5_FOUND)