[CMake] LIBRARY_OUTPUT_PATH - CMAKE_LIBRARY_OUTPUT_DIRECTORY

Biddiscombe, John A. biddisco at cscs.ch
Mon Nov 30 04:14:46 EST 2009


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



More information about the CMake mailing list