I use if(PATH_EQUAL) inside install(CODE) for custom install logic. But it trigger the error about Policy CMP0139 is not set.
How the enable it globally for cmake_install.cmake? Why does cmake_install.cmake not use same policy version as CMakeLists.txt?