From: Thomas Jarosch Date: Mon, 16 Mar 2009 20:01:48 +0000 (+0100) Subject: libftdi++: Adjust library filename to match autoconf suite: libftdipp.so X-Git-Tag: v0.16rc1~22 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=340152b2343e3ee08dc2b98fee5e0e57b8b22afd libftdi++: Adjust library filename to match autoconf suite: libftdipp.so --- 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 )