Hello all:
    I have somethird-partydynamic librariesin the lib directory,how can 
Iinstall it tothe installation directory?

lib$ ls -la
总用量 1768
drwxrwxr-x 3 l l    4096  3月  9 13:23 .
drwxrwxr-x 4 l l    4096  3月  9 13:23 ..
lrwxrwxrwx 1 l l      17  3月  9 13:23 libqxmpp.so -> libqxmpp.so.0.8.3
lrwxrwxrwx 1 l l      17  3月  9 13:23 libqxmpp.so.0 -> libqxmpp.so.0.8.3
lrwxrwxrwx 1 l l      17  3月  9 13:23 libqxmpp.so.0.8 -> libqxmpp.so.0.8.3
-rwxr-xr-x 1 l l 1797032  3月  9 13:23 libqxmpp.so.0.8.3
drwxrwxr-x 2 l l    4096  3月  9 13:25 pkgconfig


    I was write in CMakeLists.txt :
    INSTALL(DIRECTORY "${CMAKE_SOURCE_DIR}/ThirdLibary/lib/"
                     DESTINATION "."
                     FILES_MATCHING PATTERN "*.so*")


    OK! It is install file. But the link file is error:

lib$ ls -la
lrwxrwxrwx 1 l l      18  3月  9 15:04 libqxmpp.so -> /libqxmpp.so.0.8.3
lrwxrwxrwx 1 l l      18  3月  9 15:04 libqxmpp.so.0 -> /libqxmpp.so.0.8.3
lrwxrwxrwx 1 l l      18  3月  9 15:04 libqxmpp.so.0.8 -> /libqxmpp.so.0.8.3
-rw-r--r-- 1 l l 1796920  3月  9 15:04 libqxmpp.so.0.8.3

    What should I do?
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to