-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Platform
Linux
Platform Version
GitHub ubuntu-24.04
FreeDV Version
2.0.0-dev2 (commit cfb4f04)
Steps to Reproduce
Configure FreeDV source code for build using CMake 4.0 (and force building of dependencies--most commonly done for Windows and macOS builds).
Expected Behavior
FreeDV is able to build.
Actual Behavior
Error during CMake execution:
-- Will attempt static build of samplerate.
CMake Warning (dev) at /usr/local/share/cmake-4.0/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(samplerate) is deprecated, call
FetchContent_MakeAvailable(samplerate) instead. Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(samplerate) to be called directly for
now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
cmake/BuildSamplerate.cmake:16 (FetchContent_Populate)
CMakeLists.txt:500 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at build_windows/_deps/samplerate-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
Additional Comments
wxWidgets had a similar error during configuration but upgrading it to 3.2.7 fixed it for that project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working