Hello Carsten, >> The patch sets the "NO_DEFAULT_PATH" argument to FIND_LIBRARY, when > OPENEXR_ROOT_DIR has been set. > > I've essentially followed this approach, but looking at the cmake > documentation ISTM that an alternative would be to use the HINTS > argument to FIND_PATH/FIND_LIBRARY for the user specified directories > and reserve PATHS for the hard coded guesses.
I have to admit I never understood which one of the HINTS/PATHS parameters should be used for user-supplied locations. Mostly I end up using PATHS for compatibility with cmake 2.4 projects... *g* > >> Do you think the following patch can be incorporated in OpenSG2? > > there were some other small inconsistencies in the FindOpenEXR.cmake > file, so I ended up committing the attached. > Many thanks for sending the patch. You are welcome! Thanks for accepting it. cheers, Johannes -- Johannes Zarl Virtual Reality Services Johannes Kepler University Informationsmanagement Altenbergerstrasze 69 4040 Linz, Austria Phone: +43 732 2468-8321 johannes.z...@jku.at http://vrc.zid.jku.at ------------------------------------------------------------------------------ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users