Branch: refs/heads/v2021.04 Home: https://github.com/OpenAMP/libmetal Commit: 5983d207df41841ffb425c49695837c2e2a67a0a https://github.com/OpenAMP/libmetal/commit/5983d207df41841ffb425c49695837c2e... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2021-05-06 (Thu, 06 May 2021)
Changed paths: M CMakeLists.txt M cmake/options.cmake
Log Message: ----------- cmake: fix VERSION file path
cmake fails when the variable CMAKE_SOURCE_DIR does not point to the libmetal directory. This is the case, for example, for the Zephyr project.
Fix by defining LIBMETAL_ROOT_DIR in the main CmakeLists.txt.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
openamp-rp@lists.openampproject.org