I am in the process of switching the hdf5 library used by paraview from the 
older 1.6.x to the newer 1.8.x and I encountered a problem caused by the fact 
that the new variable
CMAKE_LIBRARY_OUTPUT_DIRECTORY
is set by hdf1.8.x when included in the paraview main project - and it 
overrides the LIBRARY_OUTPUT_PATH set by paraview (also, executable/archive 
dirs etc), causing all the directories to be wrong in the main paraview build.

A quick fix is to set CMAKE_LIBRARY_OUTPUT_DIRECTORY/etc in the paraview 
cmakelists, but my question is

Is is safe for me to essentially do a search/replace on all 
LIBRARY_OUTPUT_PATH and replace with CMAKE_LIBRARY_OUTPUT_DIRECTORY
in all cmakelists files in paraview (or any other project for example).

By which I mean, is there any real functional difference, or is it just a name 
change?

thanks

JB

-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to