Skip to content

Commit

Permalink
HotFix: Fix broken CMake flow (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeratec authored Dec 13, 2024
1 parent 948131b commit 59702ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmake/Utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ endmacro()
:param target_platform: The target platform to build for.
:param category: The category of the subdirectories.
:param mappings: A list of mappings from target platforms to folders.
:param mappings: A list of mappings from target platforms to folders. Make sure to wrap the list in quotes!
.. code-block:: cmake
:caption Example Usage
Expand All @@ -49,7 +49,7 @@ endmacro()
chimera-open:snitch_cluster
chimera-host:
)
add_chimera_subdirectories(${TARGET_PLATFORM} "Device" ${MAPPINGS})
add_chimera_subdirectories(${TARGET_PLATFORM} "Device" "${MAPPINGS}")
#]=======================================================================]
function(add_chimera_subdirectories target_platform category mappings)
Expand Down
2 changes: 1 addition & 1 deletion devices/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ set(DEVICE_MAPPINGS
)

# Call the macro
add_chimera_subdirectories(${TARGET_PLATFORM} "Device" ${DEVICE_MAPPINGS})
add_chimera_subdirectories(${TARGET_PLATFORM} "Device" "${DEVICE_MAPPINGS}")
2 changes: 1 addition & 1 deletion drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(DRIVER_MAPPINGS
)

# Call the macro
add_chimera_subdirectories(${TARGET_PLATFORM} "Driver" ${DRIVER_MAPPINGS})
add_chimera_subdirectories(${TARGET_PLATFORM} "Driver" "${DRIVER_MAPPINGS}")


# WIESEP: Export this directory as root include directory for the drivers
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ set(TEST_MAPPINGS
)

# Call the macro
add_chimera_subdirectories(${TARGET_PLATFORM} "Test" ${TEST_MAPPINGS})
add_chimera_subdirectories(${TARGET_PLATFORM} "Test" "${TEST_MAPPINGS}")

0 comments on commit 59702ea

Please sign in to comment.