Tom94 / tev

High dynamic range (HDR) image viewer for graphics people
BSD 3-Clause "New" or "Revised" License
1.02k stars 86 forks source link

Unexpected files occur in installation #227

Closed comradez closed 1 month ago

comradez commented 1 month ago

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).

Tom94 commented 1 month ago

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