You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following message was observed during the compilation/installation of indi-core:
CMake Warning (dev) at drivers/telescope/make_lx200generic_symlink.cmake:33 (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):
drivers/telescope/cmake_install.cmake:514 (include)
drivers/cmake_install.cmake:47 (include)
cmake_install.cmake:119 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Analysis and Request
This is a non-critical developer warning from the CMake tool, related to the deprecated exec_program command.
The script drivers/telescope/make_lx200generic_symlink.cmake on line 33 is using an old command which modern CMake versions (and policy CMP0153) flag as obsolete, recommending the use of execute_process() instead.
While this did not prevent the successful installation of the INDI core libraries, addressing this would clean up the build output for users building from source.
Suggested Fix: Replace the deprecated exec_program command call with the modern execute_process() command in drivers/telescope/make_lx200generic_symlink.cmake.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Report on exec_program CMake Warning
The following message was observed during the compilation/installation of indi-core:
CMake Warning (dev) at drivers/telescope/make_lx200generic_symlink.cmake:33 (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):
drivers/telescope/cmake_install.cmake:514 (include)
drivers/cmake_install.cmake:47 (include)
cmake_install.cmake:119 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Analysis and Request
This is a non-critical developer warning from the CMake tool, related to the deprecated exec_program command.
The script drivers/telescope/make_lx200generic_symlink.cmake on line 33 is using an old command which modern CMake versions (and policy CMP0153) flag as obsolete, recommending the use of execute_process() instead.
While this did not prevent the successful installation of the INDI core libraries, addressing this would clean up the build output for users building from source.
Suggested Fix: Replace the deprecated exec_program command call with the modern execute_process() command in drivers/telescope/make_lx200generic_symlink.cmake.
Bernard (with help from Gemini !)
Beta Was this translation helpful? Give feedback.
All reactions