cmake: Set MBED_TEST_MODE with INTERFACE
Set MBED_TEST_MODE with INTERFACE. Use INTERFACE because mbed-os is an
interface target, and we can only set INTERFACE properties on interface
targets. This helps avoid the following error when building an
application.

    CMake Error at mbed-os/CMakeLists.txt:96 (target_compile_definitions):
      target_compile_definitions may only set INTERFACE properties on INTERFACE
        targets
ls
1 parent c3f3ed7 commit ef077464432f1408329781c22389febfcb6f435c
@Jaeden Amero Jaeden Amero authored on 6 Jul 2021
Showing 1 changed file
View
CMakeLists.txt