mirror of https://github.com/ARMmbed/mbed-os.git
Mbed CLI 2 generates TARGET_ARM_FM macro as a string in mbed_config.cmake under the MBED_TARGET_DEFINITIONS list. Fix the "if defined" check for TARGET_ARM_FM by searching for the TARGET_ARM_FM string in the MBED_TARGET_DEFINITIONS list. This allows us to skip or include the test from CMake. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
main.cpp |