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. -- 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