79aebb6204
The generated CMake targets file was referring to an incorrect destination as the derivation manually moved the libraries during installPhase, while CMake uses the path it thinks is going to be used (the DESTINATION in the install rule) in the IMPORTED_LOCATION property. By setting the install destinations via CMake flags (and patching the DESTINATION for the binary install rules), CMake will pick up the correct locations in the generated AlembicTargets-release.cmake file. Along with fixing that issue, this commit also includes the following changes: * Remove unused unzip nativeBuildInput * Enable unit tests * Add missing direct dependency ilmbase: Previously it was only picked up indirectly, resulting in CMake configuration warnings * Add ilmbase as propagatedBuildInput: Downstream users of Alembic (via CMake) need to add ilmbase as a dependency as well For some reason this is not discovered correctly otherwise * Use CMake setup hooks instead of setting buildPhase/installPhase |
||
---|---|---|
.. | ||
applications | ||
build-support | ||
common-updater | ||
data | ||
desktops | ||
development | ||
games | ||
misc | ||
os-specific | ||
pkgs-lib | ||
servers | ||
shells | ||
stdenv | ||
test | ||
tools | ||
top-level |