--- a/cmake/modules/SetKexiCMakePolicies.cmake
+++ b/cmake/modules/SetKexiCMakePolicies.cmake
@@ -8,9 +8,6 @@ cmake_policy(SET CMP0048 NEW) # for PROJ
 cmake_policy(SET CMP0053 NEW) # TODO remove, temporary fix for a bug in Qt 5.8's Qt5ModuleLocation.cmake
                               # "Simplify variable reference and escape sequence evaluation"
 
-if(POLICY CMP0059) # Don’t treat DEFINITIONS as a built-in directory property.
-    cmake_policy(SET CMP0059 OLD)
-endif()
 if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3)
     cmake_policy(SET CMP0063 NEW)
 endif()
--- a/cmake/modules/KexiAddIconsRccFile.cmake
+++ b/cmake/modules/KexiAddIconsRccFile.cmake
@@ -52,7 +52,7 @@ macro(kexi_add_icons_rcc_file _target _p
     add_custom_target(${_target}_build_rcc
         COMMAND ${Qt5Core_RCC_EXECUTABLE} --compress 9 --threshold 0 --binary
                 --output "${_RCC_FILE}" "${_QRC_FILE}"
-        DEPENDS "${_QRC_FILE}" "${_FILES}"
+        DEPENDS "${_FILES}"
         WORKING_DIRECTORY "${_BASE_DIR}"
         COMMENT "Building external Qt resource ${_RCC_FILE}"
         VERBATIM
--- a/src/pics/CMakeLists.txt
+++ b/src/pics/CMakeLists.txt
@@ -59,7 +59,7 @@ add_dependencies(build_qrc colorize_icon
 add_custom_target(build_rcc
     COMMAND ${Qt5Core_RCC_EXECUTABLE} --compress 9 --threshold 0 --binary
             --output "${_RCC_FILE}" "${_QRC_FILE}"
-    DEPENDS "${_QRC_FILE}" "${_FILES}"
+    DEPENDS "${_FILES}"
     WORKING_DIRECTORY "${_BASE_DIR}"
     COMMENT "Building external Qt resource ${_RCC_FILE}"
     VERBATIM
