-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STIR CMake cache does not store dependancy paths #1516
Comments
A brief bit of reading seems to suggest these paths are stored in the Interestingly, STIR seems to be doing this kind of thing already with HDF5 as this line exists in my INTERFACE_LINK_LIBRARIES "ROOT::Tree;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;/usr/lib/x86_64-linux-gnu/libcurl.so;/usr/lib/x86_64-linux-gnu/libpthread.a;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.a;/usr/lib/x86_64-linux-gnu/libm.so;modelling_buildblock;listmode_buildblock" |
STIR's dependency paths need defining in CMake projects using STIR. Trying to use https:/UCL/STIR/blob/master/examples/C%2B%2B/using_installed_STIR/CMakeLists.txt as my guide.
The examples below shows the common steps I have to go through to provide the
ROOT_DIR
andparallelproj_DIR
paths to my project. Could it be made such that the STIR CMake build/install stores these dependency paths for use by child projects? There are probably other dependencies that could also be referenced in this way. Surely, these paths need to match those used in the STIR install anyway...STIR_DIR
Running
results in (some path obfuscation)
ROOT_DIR
Adding the
ROOT_DIR
which results in
parallelproj_DIR
Finally adding the
parallelproj_DIR
and cmake configures and generates and the
The text was updated successfully, but these errors were encountered: