On Sunday 01 August 2010 20:50:05 Dennis Schridde wrote:
> I just notice that
this command does not do what I expected it to do:
>
> set_property(TARGET
MyLib PROPERTY IMPORTED_LOCATION
> "${MYLIB_DIR}/build")
>
> Apparently it
sets the path to the *file* that is
> MyLib, not to the directory it is in.
Is there a property to set the path
> to the *directory*?
> With CMake
guessing how the library is named, based on the
> platform and the type of
library? (Should be rather easy, just assume that
> it has the same name as
a library that CMake would generate.)
Does anyone have a suggestion how to
do this?--Dennis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ 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
