Skip to content

Commit

Permalink
cmake: allow setting NANOPB_SRC_ROOT_FOLDER
Browse files Browse the repository at this point in the history
According to the CMake documentation the keyword INTERNAL implies
FORCE, but the CMake implementation seems broken and does not enforce
this in all cases. This can lead to rather strange behavior which
path is used in the end. More details can be found at
https://gitlab.kitware.com/cmake/cmake/-/issues/22734.

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
Axel Heider committed Apr 1, 2024
1 parent 2b96ef9 commit 1a5fee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ list(
${project_modules}
)

set(NANOPB_SRC_ROOT_FOLDER "${project_dir}/nanopb" CACHE INTERNAL "")
set(NANOPB_SRC_ROOT_FOLDER "${project_dir}/nanopb" CACHE STRING "NanoPB Folder location")
set(OPENSBI_PATH "${project_dir}/tools/opensbi" CACHE STRING "OpenSBI Folder location")

set(SEL4_CONFIG_DEFAULT_ADVANCED ON)
Expand Down

0 comments on commit 1a5fee6

Please sign in to comment.