|
|
@@ -18,13 +18,6 @@ OBJECT_DEPENDS depend_files) instead.
|
|
|
|
|
|
macro (MACRO_ADD_FILE_DEPENDENCIES _file)
|
|
|
|
|
|
- get_source_file_property(_deps ${_file} OBJECT_DEPENDS)
|
|
|
- if (_deps)
|
|
|
- set(_deps ${_deps} ${ARGN})
|
|
|
- else ()
|
|
|
- set(_deps ${ARGN})
|
|
|
- endif ()
|
|
|
-
|
|
|
- set_source_files_properties(${_file} PROPERTIES OBJECT_DEPENDS "${_deps}")
|
|
|
+ set_property(SOURCE "${_file}" APPEND PROPERTY OBJECT_DEPENDS "${ARGN}")
|
|
|
|
|
|
endmacro ()
|