X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fmain%2FCMakeLists.txt;h=df3d765a471e48e103ae4ca371225e1b4442af23;hp=60efe515392af70e851bdcf2d362625b817819fd;hb=b5c64cce8e7813090809a3e4de8f88e148f84392;hpb=d271c469e6d61005e45d22e7766f0bcb431c8327 diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index 60efe515..df3d765a 100644 --- 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() +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)