mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 17:45:22 +00:00
CMake: Fix amalgamated tables generation on change (#6832)
The list of spec files, dependency of the amalgamated table generation, was incorrectly specified. When a list is used in a DEPENDS argument, all the components of the argument should be a list. Using double quotes breaks that.
This commit is contained in:
parent
6e9f8720ae
commit
8eda456bc0
@ -202,7 +202,7 @@ function(generateTableCategoryAmalgamation category_name)
|
||||
OUTPUT "${amalgamation_file}"
|
||||
COMMAND "${CMAKE_COMMAND}" -E env "PYTHONPATH=${OSQUERY_PYTHON_PATH}" "${OSQUERY_PYTHON_EXECUTABLE}" "${CMAKE_SOURCE_DIR}/tools/codegen/amalgamate.py" --templates "${CMAKE_SOURCE_DIR}/tools/codegen/templates" ${amalgamation_type} --sources "${generateTables_output}" --output "${amalgamation_file}"
|
||||
COMMENT "Generating amalgamation file for the ${category_name} tables..."
|
||||
DEPENDS "${category_spec_files}" ${generateTables_targetList}
|
||||
DEPENDS ${category_spec_files} ${generateTables_targetList}
|
||||
)
|
||||
|
||||
# Build the library
|
||||
|
Loading…
Reference in New Issue
Block a user