Setting -DCMAKE_POLICY_VERSION_MINIMUM=3.5 does fix it. Please update your CMakeLists.txt to 3.5.0
Original error:
CMake Error at CMakeLists.txt:21 (cmake_minimum_required):
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.
Second issue - installing to wrong location due to incorrect usage of variable which is not expanded into a string:
-- Up-to-date: output/target/usr/@WEBOS_INSTALL_INCLUDEDIR@
-- Up-to-date: output/target/usr/@WEBOS_INSTALL_INCLUDEDIR@/PmLogMsg.h
Setting -DCMAKE_POLICY_VERSION_MINIMUM=3.5 does fix it. Please update your CMakeLists.txt to 3.5.0
Original error:
Second issue - installing to wrong location due to incorrect usage of variable which is not expanded into a string: