When using cmake, the configured version header is being installed twice from different locations causing install to fail. I'm on linux but also see a similar report for windows here https://github.com/strukturag/libde265/issues/278.
This is because de265-version.h is included in the libde265_headers variable and there is a second install statement for the version file from the build directory.
This changes the CMakeLists so it generates into the source dir first, then the install libde265_headers line does the rest.
Alternatively it could append the version.h to the headers list after the first install is run.
When using cmake, the configured version header is being installed twice from different locations causing install to fail. I'm on linux but also see a similar report for windows here https://github.com/strukturag/libde265/issues/278.
This is because
de265-version.h
is included in thelibde265_headers
variable and there is a second install statement for the version file from the build directory.This changes the CMakeLists so it generates into the source dir first, then the install libde265_headers line does the rest.
Alternatively it could append the version.h to the headers list after the first install is run.