improve robustness of cmake targets
As note as a catalyst issue some failures if WM_OSTYPE is not set.
Transfer some of the configuration setup from there.
As note as a catalyst issue some failures if WM_OSTYPE is not set.
Transfer some of the configuration setup from there.
mentioned in commit 21bccfdf
As noted in discussion with @sbna, the cmakeFunctions do not allow passing any additional arguments or using a make && make install
setup.
Newer cmake warns about this:
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
The OLD behavior for policy CMP0002 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Need to review which cmake policies we are using and update accordingly.
closed