Transport Manager CMakeLists
authorJustin Dickow <jjdickow@gmail.com>
Wed, 23 Jul 2014 17:20:36 +0000 (13:20 -0400)
committerJustin Dickow <jjdickow@gmail.com>
Wed, 23 Jul 2014 17:20:36 +0000 (13:20 -0400)
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
src/components/transport_manager/CMakeLists.txt

index cc9510a..ce7a30e 100644 (file)
@@ -1,3 +1,6 @@
+
+set(target TransportManager)
+
 include_directories (
   ./include
   ../utils/include/
@@ -68,7 +71,7 @@ add_library("TransportManager" ${SOURCES})
 
 if (BUILD_USB_SUPPORT)
   if (CMAKE_SYSTEM_NAME STREQUAL "QNX")
-    target_link_libraries ("TransportManager" usbdi )
+    target_link_libraries(${target} usbdi)
   endif()
 endif(BUILD_USB_SUPPORT)