With CMake 3.26.0, we now have a warning when running the UNDEFINED_SYMBOLS_ALLOWED test:
...
-- Performing Test UNDEFINED_SYMBOLS_ALLOWED - ...
CMake Warning (dev) at /Users/Alan/libCellML/build/CMakeTmp/UNDEFINED_SYMBOLS_ALLOWED/CMakeLists.txt:2 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Performing Test UNDEFINED_SYMBOLS_ALLOWED - Failed
...
With CMake 3.26.0, we now have a warning when running the
UNDEFINED_SYMBOLS_ALLOWED
test: