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

Thanks in
advance,
Dennis

Attachment: 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

Reply via email to