From b925ab14dfc7d8600c0dd2f2bbcb4639bb40c26e Mon Sep 17 00:00:00 2001 From: Marius Elvert Date: Fri, 16 Dec 2016 13:11:24 +0100 Subject: Defined missing paths for correct installation --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 430c969..775312f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,10 +32,12 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${UC link_directories(${UCA_LIBRARY_DIRS} ${GIO_LIBRARY_DIRS}) # uca-net client camera +configure_paths(UCANET) +set(UCANET_PLUGINDIR "${UCANET_LIBDIR}/uca") # TODO: Maybe move this to ConfigurePaths? add_library(ucanet SHARED uca-net-camera.c) -target_link_libraries(ucanet ${UCA_LIBRARIES}) +target_link_libraries(ucanet ${UCA_LIBRARIES} ${GIO_LIBRARIES}) -install(TARGETS ucanet LIBRARY DESTINATION ${LIBUCA_PLUGINDIR}) +install(TARGETS ucanet LIBRARY DESTINATION ${UCANET_PLUGINDIR} RUNTIME DESTINATION ${UCANET_PLUGINDIR}) # uca-net server configure_paths(UCAD) -- cgit v1.2.3