Fix CMake variables of cdc_connector

The library is not a static library but a shared object.
This commit is contained in:
Markus Mäkelä 2017-09-19 11:18:21 +03:00
parent a26f6f6087
commit 1067e76121

View File

@ -111,5 +111,5 @@ ExternalProject_Add(cdc_connector
INSTALL_COMMAND make install)
set(CDC_CONNECTOR_INCLUDE ${CMAKE_BINARY_DIR}/cdc_connector/include/ CACHE INTERNAL "")
set(CDC_CONNECTOR_LIBRARIES ${CMAKE_BINARY_DIR}/cdc_connector/lib/libcdc_connector.a CACHE INTERNAL "")
set(CDC_CONNECTOR_LIBRARIES ${CMAKE_BINARY_DIR}/cdc_connector/lib/libcdc_connector.so CACHE INTERNAL "")
include_directories(${CMAKE_BINARY_DIR}/cdc_connector/include)