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. |
---|
|
CMakeLists.txt |
---|
targets/TARGET_NUVOTON/TARGET_M2354/TARGET_TFM/TARGET_NU_M2354/COMPONENT_TFM_S_FW/CMakeLists.txt |
---|
targets/TARGET_NUVOTON/scripts/mbed_set_post_build_nuvoton.cmake |
---|