libftdi++: Adjust library filename to match autoconf suite: libftdipp.so
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 16 Mar 2009 20:01:48 +0000 (21:01 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 16 Mar 2009 20:01:48 +0000 (21:01 +0100)
examples/CMakeLists.txt
ftdipp/CMakeLists.txt

index 04c0497..ccd2f89 100644 (file)
@@ -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()
index 411abdb..63729de 100644 (file)
@@ -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
             )