Description
I'm trying to build and package lgmath and steam into conda packages https://github.com/Ericsii/steam-feedstock. But when attempting to compile the latest verision steam, the build process fails due to a version mismatch in the lgmath library's CMake configuration.
|
set(PROJECT_VERSION 1.1.0) |
From the above line the PROJECT_VERSION is still 1.1.0, which mismatch the current version number.
Here's the error Log
CMake Error at CMakeLists.txt:45 (find_package):
Could not find a configuration file for package "lgmath" that is compatible
with requested version "3.0.0".
The following configuration files were considered but not accepted:
$PREFIX/lib/cmake/lgmath/lgmathConfig.cmake, version: 1.1.0
/usr/local/lib/cmake/lgmath/lgmathConfig.cmake, version: 1.1.0
Expected Fix
Update the VERSION variable in lgmath's CMakeLists.txt to 3.0.0 (or the latest released version) so that the generated lgmathConfig.cmake file reports the correct version. This will resolve the version mismatch during Steam's build process.
Description
I'm trying to build and package
lgmathandsteaminto conda packages https://github.com/Ericsii/steam-feedstock. But when attempting to compile the latest verisionsteam, the build process fails due to a version mismatch in thelgmathlibrary's CMake configuration.lgmath/CMakeLists.txt
Line 15 in c55431e
From the above line the PROJECT_VERSION is still 1.1.0, which mismatch the current version number.
Here's the error Log
Expected Fix
Update the
VERSIONvariable inlgmath'sCMakeLists.txtto 3.0.0 (or the latest released version) so that the generatedlgmathConfig.cmakefile reports the correct version. This will resolve the version mismatch during Steam's build process.