zephyr/tests/subsys/settings/fcb/base64
Marc Herbert debade9121 tests: make find_package(Zephyr...) REQUIRED
... because it is (required).

This makes a difference when building with CMake and forgetting
ZEPHYR_BASE or not registering Zephyr in the CMake package registry.

In this particular case, REQUIRED turns this harmless looking log
statement:

-- Could NOT find Zephyr (missing: Zephyr_DIR)
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- ...
-- ...
-- ...
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:8 (target_sources):
  Cannot specify sources for target "app" which is not built by
  this project.

... into this louder, clearer, faster and (last but not least) final
error:

CMake Error at CMakeLists.txt:5 (find_package):
  Could not find a package configuration file provided by "Zephyr" with
  any of the following names:

    ZephyrConfig.cmake
    zephyr-config.cmake

  Add the installation prefix of "Zephyr" to CMAKE_PREFIX_PATH or set
  "Zephyr_DIR" to a directory containing one of the above files.  If
  "Zephyr" provides a separate development package or SDK, be sure it
  has been installed.

-- Configuring incomplete, errors occurred!

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2020-05-29 10:47:25 +02:00
..
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
native_posix_64.overlay tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
native_posix.overlay tests: Added native POSIX to flash based tests 2019-05-28 21:14:19 -04:00
nrf52dk_nrf52832.overlay boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
nrf52840dk_nrf52840.overlay boards: nrf52840_pca10056: Rename board to nrf52840dk_nrf52840 2020-03-27 09:14:08 +01:00
placeholder.c tests/subsys/settings: build common code as zephyr_libraries 2019-10-22 11:11:11 +02:00
prj_native_posix_64.conf tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
prj_native_posix.conf tests: Added native POSIX to flash based tests 2019-05-28 21:14:19 -04:00
prj.conf subsys/settings: Allow to register custom backends in settings subsystem 2019-04-26 11:24:31 +03:00
testcase.yaml boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00