diff options
author | Newton Kim <babynewton73@gmail.com> | 2014-06-17 17:36:08 +0900 |
---|---|---|
committer | Justin Dickow <jjdickow@gmail.com> | 2014-06-19 10:33:53 -0400 |
commit | 99ce9092926c839e0c9008296fe0428494328f98 (patch) | |
tree | 18253e3d8f2e904e40246d16a36cb8aae5496995 | |
parent | 62d718e69232328ed94c77252e667833b2c92758 (diff) | |
download | smartdevicelink-dev/libdbus.tar.gz |
libLibusb library was not installed when BUILD_SHARED_LIBS is ONdev/libdbus
-rw-r--r-- | src/thirdPartyLibs/libusbx-1.0.16/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/thirdPartyLibs/libusbx-1.0.16/CMakeLists.txt b/src/thirdPartyLibs/libusbx-1.0.16/CMakeLists.txt index 760a9aad6..eba90d8d0 100644 --- a/src/thirdPartyLibs/libusbx-1.0.16/CMakeLists.txt +++ b/src/thirdPartyLibs/libusbx-1.0.16/CMakeLists.txt @@ -21,4 +21,8 @@ set (LIBUSB_SOURCES add_library("Libusb-1.0.16" ${LIBUSB_SOURCES}) -target_link_libraries("Libusb-1.0.16" udev)
\ No newline at end of file +target_link_libraries("Libusb-1.0.16" udev) + +if( BUILD_SHARED_LIBS ) + install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libLibusb-1.0.16.so DESTINATION lib) +endif() |