diff --git a/VERSION b/VERSION index e0111596..2de2766a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-24-g5e3a46beb9+1 \ No newline at end of file +B1-25-gc382a5acb1+1 \ No newline at end of file diff --git a/porthole/CMakeLists.txt b/porthole/CMakeLists.txt index 56a2af3b..e11bb3d9 100644 --- a/porthole/CMakeLists.txt +++ b/porthole/CMakeLists.txt @@ -11,12 +11,18 @@ add_library(porthole STATIC if(WIN32) add_subdirectory(src/windows) - target_link_libraries(porthole PRIVATE porthole-windows) + set(PLATFORM "windows") else() add_subdirectory(src/linux) - target_link_libraries(porthole PRIVATE porthole-linux) + set(PLATFORM "linux") endif() +target_link_libraries(porthole + PRIVATE + porthole-${PLATFORM} + lg_common +) + target_include_directories(porthole INTERFACE include diff --git a/porthole/src/linux/CMakeLists.txt b/porthole/src/linux/CMakeLists.txt index c9fb44db..e259db8d 100644 --- a/porthole/src/linux/CMakeLists.txt +++ b/porthole/src/linux/CMakeLists.txt @@ -2,10 +2,12 @@ cmake_minimum_required(VERSION 3.0) project(porthole-linux LANGUAGES C) add_library(porthole-linux STATIC - device.c + client.c ) -#target_link_libraries(porthole-linux) +target_link_libraries(porthole-linux + lg_common +) target_include_directories(porthole-linux PRIVATE