Zhangshoukui opened a new pull request, #13977:
URL: https://github.com/apache/nuttx/pull/13977

   ## Summary
   Fix to compile parameters not taking effect When cmake version is greater 
than 3.18
   https://cmake.org/cmake/help/latest/command/set_source_files_properties.html
   
   New in version 3.18: By default, source file properties are only visible to 
targets added in the same directory (CMakeLists.txt). Visibility can be set in 
other directory scopes using one or both of the following options:
   
   DIRECTORY <dirs>...
   The source file properties will be set in each of the <dirs> directories' 
scopes. CMake must already know about each of these source directories, either 
by having added them through a call to 
[add_subdirectory()](https://cmake.org/cmake/help/latest/command/add_subdirectory.html#command:add_subdirectory)
 or it being the top level source directory. Relative paths are treated as 
relative to the current source directory.
   ## Impact
   flag configuration does not take effect when the cmake version is greater 
than 3.18
   ## Testing
   Local test
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to