-
Notifications
You must be signed in to change notification settings - Fork 144
Open
Description
Hello,
Following the question at: https://community.developers.refinitiv.com/discussion/132623/sdk-compatibility-with-cmake-version-4-0.
When compiling the SDK (both github and release from the developer portal) with cmake version (> 4.0), we have the following error:
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!
The workaround setting the environment variable (export CMAKE_POLICY_VERSION_MINIMUM=3.5) seems to work, but the current setup is not suitable for automated builds for many reasons: environment variables, download dependencies from the internet, no install targets.
In order to easily integrate with other build systems, would it be possible to:
- Support natively cmake version (> 4.0)
- Support installing the sdk lib and its dependencies. I see a similar request in issues cmake install targets #185, but looks like it was never prioritized.
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels