[CMake] How to have a static/shared option in a Find script ?

Barth barthelemy.von.haller at cern.ch
Thu Feb 16 05:10:54 EST 2012


Hello again, 

A short question about your proposal :

Michael Hertling wrote
> 
> (4) DIM_USE_STATIC decides if DIM_LIBRARIES receives DIM_STATIC_LIBRARY
>     or DIM_SHARED_LIBRARY, and because DIM_LIBRARIES is not cached, it
>     can be set anew each time FIND_PACKAGE(DIM ...) is called, so the
>     issue you report on will go away.
> 
Why use DIM_USE_STATIC here, and not DIM_FIND_COMPONENTS ? 
I would think that we get rid of DIM_USE_STATIC if we use components. 

Cheers,
Barth

--
View this message in context: http://cmake.3232098.n2.nabble.com/How-to-have-a-static-shared-option-in-a-Find-script-tp7287655p7290513.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list