On Thu, Mar 14, 2013 at 10:40:58AM +0100, Markus Blatt wrote:
> [...] Unfortunately this means that all
> --with{,out}-...  --{en,dis}able-... get ignored and the external
> software will not be found.
> 
> A quickfix would be to extract the pathes provided with
> --with-<package>=... and simply add them to the CMAKE_PREFIX_PATH
> variable. This hopefully ensures that the find_xxx functions succeed
> in most cases. 
> 
> Of course this means on cannot disable features, but
> at least for me that is not important. Are there any objections?
> 

Just found out about CMAKE_DISABLE_FIND_PACKAGE_<PackageName> for
disabling features. I will patch dunecontrol to use it for provided
--without-<package> directives.

Markus
-- 
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany,  USt-Id: DE279960836
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658

Please notice the new address!

_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to