Tom94/tev

Unexpected files occur in installation

comradez opened this issue · 1 comments

After commit eb40611 has changed OpenEXR and Imath repos to upstream, if you follow the CMake instructions given in the README and do

cmake . -B build

Then during installation, the headers and compiled static libs of OpenEXR and Imath will also be installed, which is not expected and has affected the AUR package.

One possible solution would be adding -DOPENEXR_INSTALL=OFF -DOPENEXR_INSTALL_TOOLS=OFF -DOPENEXR_INSTALL_PKG_CONFIG=OFF -DIMATH_INSTALL=OFF -DIMATH_INSTALL_PKG_CONFIG=OFF, explicitly disabling their installation on configuration, and updating this in the README might help avoid potential problems (like someone using CMAKE_INSTALL_PREFIX=/usr accidentally overwritten their OpenEXR headers).

Ouch, apologies for missing this when upgrading the dependencies. Imath / OpenEXR installation should now be disabled on latest master. Thank for reporting!