These are chat archives for symengine/symengine
SymEngineConfig.cmakeand similar should work for "binary" packages as well, i.e. if somebody installs them elsewhere. There wasn't time to discuss specifics, but we should simply ask on the cmake users or devel list.
PATH_SUFFIXES lib lib64
we should just use
/home/isuru/.local/would it search
CMAKE_PREFIX_PATH, then it will search
CMAKE_PREFIX_PATHtakes care of 90% of my usage, since I always have the libraries installed in some kind of a prefix. One just has to put all the paths in there in the order I want them to be searched.
find_pathsets. This is not as nice as we currently have, since cmake will not test it, it will not run
find_pathif I set the cache variable. But it still allows the user to do what he needs. And
CMAKE_PREFIX_PATHseems to cover most of my use cases.
FIND_LIBRARY_USE_LIB64_PATHS, so these two variables should cover that issue.