From 340152b2343e3ee08dc2b98fee5e0e57b8b22afd Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Mon, 16 Mar 2009 21:01:48 +0100 Subject: [PATCH] libftdi++: Adjust library filename to match autoconf suite: libftdipp.so --- examples/CMakeLists.txt | 2 +- ftdipp/CMakeLists.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 04c0497..ccd2f89 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -31,5 +31,5 @@ if(FTDI_BUILD_CPP) add_executable(find_all_pp find_all_pp.cpp) # Linkage - target_link_libraries(find_all_pp ftdi_cpp) + target_link_libraries(find_all_pp ftdipp) endif() diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt index 411abdb..63729de 100644 --- a/ftdipp/CMakeLists.txt +++ b/ftdipp/CMakeLists.txt @@ -18,15 +18,15 @@ set(FTDI_BUILD_CPP True PARENT_SCOPE) message(STATUS "Building libftdi++") # Targets -add_library(ftdi_cpp SHARED ${cpp_sources}) +add_library(ftdipp SHARED ${cpp_sources}) # Dependencies -target_link_libraries(ftdi_cpp ftdi ${LIBUSB_LIBRARIES} ${BOOST_LIBRARIES}) +target_link_libraries(ftdipp ftdi ${LIBUSB_LIBRARIES} ${BOOST_LIBRARIES}) # Install if(${UNIX}) - install( TARGETS ftdi_cpp + install( TARGETS ftdipp LIBRARY DESTINATION lib COMPONENT sharedlibs ) @@ -40,7 +40,7 @@ endif(${UNIX}) if(${WIN32}) - install( TARGETS ftdi_cpp + install( TARGETS ftdipp DESTINATION bin COMPONENT sharedlibs ) -- 1.7.1