I build and install teem from svn code using configuration:
cmake -B build -S teem-src -DBUILD_EXPERIMENTAL_APPS=ON \ -DBUILD_EXPERIMENTAL_LIBS=ON \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_BUILD_TYPE:STRING=Release \ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DTeem_BZIP2=ON \ -DTeem_FFTW3=ON \ -DTeem_PNG=ON
and the final installation tree looks like:
/usr/lib/cmake/teem/TeemBuildSettings.cmake /usr/lib/cmake/teem/TeemConfig.cmake /usr/lib/cmake/teem/TeemLibraryDepends-release.cmake /usr/lib/cmake/teem/TeemLibraryDepends.cmake /usr/lib/cmake/teem/TeemUse.cmake
TeemConfig.cmake sets Teem_USE_FILE
:
set(Teem_USE_FILE "${Teem_ROOT_DIR}/lib/TeemUse.cmake")
but it should be ${Teem_ROOT_DIR}/lib/cmake/teem/TeemUse.cmake
.