summaryrefslogtreecommitdiff
path: root/cmake/mbgl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/mbgl.cmake')
-rw-r--r--cmake/mbgl.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake
index da020cc93f..9f27b16bdb 100644
--- a/cmake/mbgl.cmake
+++ b/cmake/mbgl.cmake
@@ -130,6 +130,7 @@ function(load_sources_list VAR FILELIST)
endif()
endforeach()
set(${VAR} "${_FILES}" PARENT_SCOPE)
+ set_property(DIRECTORY "${CMAKE_SOURCE_DIR}" APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${FILELIST}")
endfunction()
function(target_sources_from_file TARGET TYPE FILELIST)