From: Arjen M. <arj...@wl...> - 2007-05-29 04:18:19
|
> Dear Group, > > I wanted to package plplot to rpm. I have used the spec from fedora-7. It > uses > cmake for building plplot. The question is how to disable some features, > for > example I don't need f95 and tcl. I'm sorry for asking such a simple > questions in the list. > You can use the -DENABLE_fetaure option for language bindings: cmake -DENABLE_f95:BOOL=OFF -DENABLE_tcl:BOOL=OFF Be sure to start with a clean sheet (i.e. no CMakeCache.txt file etc in the build directory). (The above form may not be the minimal, but it works. For devices you need the -DPLD_device option: -DPLD_ps:BOOL=OFF for instance). Regards, Arjen |