-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
When using CMake 3.31
it gives a lot of decprecation warnings:
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:136 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- ADDRESSMODEL is: 64-bit
-- Cl.exe produces: 64-bit
-- Microsoft Visual C++ Toolset Version is: 14.2
-- Found patch.exe at 'C:/dev/omsq6/contrib/tools/patch.exe'
-- Finding MSBuild.exe (usually installed along with .NET or VS [since 12] ) ... success
-- Finding nmake.exe (as part of VS) ... success
-- BUILD_TYPE: ALL (one of: ALL;LIBSVM;XERCESC;BOOST;COINOR;BZIP2;ZLIB;GLPK;EIGEN;KISSFFT;HDF5;OPENMP)
-- FORCE_REBUILD: OFF
-- NUMBER_OF_JOBS: 8 (maximal number of concurrent compile jobs)
-- Downloading LIBSVM .. Try #1
-- Downloading LIBSVM .. done
-- Validating archive for LIBSVM ..
-- Validating archive for LIBSVM .. successful
-- Extracting LIBSVM ..
CMake Warning (dev) at macros.cmake:153 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
libraries.cmake/libsvm.cmake:13 (OPENMS_SMARTEXTRACT)
CMakeLists.txt:532 (OPENMS_CONTRIB_BUILD_LIBSVM)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Extracting LIBSVM .. done (1st pass)
-- Extracting LIBSVM ..
CMake Warning (dev) at macros.cmake:165 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
libraries.cmake/libsvm.cmake:13 (OPENMS_SMARTEXTRACT)
CMakeLists.txt:532 (OPENMS_CONTRIB_BUILD_LIBSVM)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Extracting LIBSVM .. done (2nd pass)
-- Try patching C:/dev/contribqt6_build/src/libsvm-3.12/svm.cpp with binary option ...
CMake Warning (dev) at macros.cmake:247 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
libraries.cmake/libsvm.cmake:23 (OPENMS_PATCH)
CMakeLists.txt:532 (OPENMS_CONTRIB_BUILD_LIBSVM)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Patching C:/dev/contribqt6_build/src/libsvm-3.12/svm.cpp ... done
-- Generating libsvm build system ..
-- Generating libsvm build system .. done
-- Building libsvm lib (Debug) ..
-- Building libsvm lib (Debug) .. done
-- Building libsvm lib (Release) ..
-- Building libsvm lib (Release) .. done
-- Downloading XERCES .. Try #1
-- Downloading XERCES .. done
-- Validating archive for XERCES ..
-- Validating archive for XERCES .. successful
-- Extracting XERCES ..
CMake Warning (dev) at macros.cmake:153 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
libraries.cmake/xercesc.cmake:14 (OPENMS_SMARTEXTRACT)
CMakeLists.txt:541 (OPENMS_CONTRIB_BUILD_XERCESC)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Extracting XERCES .. done (1st pass)
-- Extracting XERCES ..
CMake Warning (dev) at macros.cmake:165 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
libraries.cmake/xercesc.cmake:14 (OPENMS_SMARTEXTRACT)
CMakeLists.txt:541 (OPENMS_CONTRIB_BUILD_XERCESC)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Extracting XERCES .. done (2nd pass)
-- Try patching C:/dev/contribqt6_build/src/Xerces-C_3_2_0/cmake/XercesDLL.cmake with binary option ...
CMake Warning (dev) at macros.cmake:247 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
libraries.cmake/xercesc.cmake:19 (OPENMS_PATCH)
CMakeLists.txt:541 (OPENMS_CONTRIB_BUILD_XERCESC)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Patching C:/dev/contribqt6_build/src/Xerces-C_3_2_0/cmake/XercesDLL.cmake ... done
-- Try patching C:/dev/contribqt6_build/src/Xerces-C_3_2_0/CMakeLists.txt with binary option ...
CMake Warning (dev) at macros.cmake:247 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
libraries.cmake/xercesc.cmake:23 (OPENMS_PATCH)
CMakeLists.txt:541 (OPENMS_CONTRIB_BUILD_XERCESC)
This warning is for project developers. Use -Wno-dev to suppress it.
Metadata
Metadata
Assignees
Labels
No labels