[BUG] cmake-based build should not modify CMAKE_CURRENT_SOURCE_DIR #14952
Labels
Arch: all
Issues that apply to all architectures
Area: Build system
OS: Mac
Issues related to MacOS (building system, etc)
Type: Bug
Something isn't working
Description / Steps to reproduce the issue
it seems that cmake-based build sometimes modifies files under CMAKE_CURRENT_SOURCE_DIR.
eg. it expands littlefs source tree to fs/littlefs/littlefs.
it should be done under CMAKE_BINARY_DIR instead.
we should treat CMAKE_CURRENT_SOURCE_DIR read-only.
On which OS does this issue occur?
[OS: Mac]
What is the version of your OS?
macOS 14.7
NuttX Version
master
Issue Architecture
[Arch: all]
Issue Area
[Area: Build System]
Verification
The text was updated successfully, but these errors were encountered: