CMake: Use CMAKE_MODULE_PATH to locate nuvoton post build hook
We were previously relying on the global MBED_PATH variable to provide
the root for the include path to the post build hooks. We can't
guarantee that MBED_PATH will be set by any application building us, so
use CMAKE_MODULE_PATH (which we always set) like we do for the other
post-build hooks.
ls
1 parent 1dda219 commit cfc68a0918e094f246c88aaa0f4a1c9a2c536bce
@Robert Walton Robert Walton authored on 30 Jul 2021
Showing 3 changed files
View
CMakeLists.txt
View
targets/TARGET_NUVOTON/TARGET_M2354/TARGET_TFM/TARGET_NU_M2354/COMPONENT_TFM_S_FW/CMakeLists.txt
View
targets/TARGET_NUVOTON/scripts/mbed_set_post_build_nuvoton.cmake