From 25c9180e4eab4c8cefc1af3fd4f83f0a8519d554 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 9 Dec 2019 05:38:25 +0300 Subject: fix CMake files It used to work, but since a few commits ago (with the introduction of cmake_minimum_required, I suspect), some libraries couldn't be found by the executables. It makes a lot of sense actually, since the service library is referenced in the headers, which are referenced in the utils. --- um/wrappers/simple/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'um/wrappers/simple') diff --git a/um/wrappers/simple/CMakeLists.txt b/um/wrappers/simple/CMakeLists.txt index 85bc34b..84f40c5 100644 --- a/um/wrappers/simple/CMakeLists.txt +++ b/um/wrappers/simple/CMakeLists.txt @@ -2,6 +2,6 @@ file(GLOB_RECURSE simple_include "include/*.hpp") file(GLOB simple_src "src/*.cpp") add_library(simple ${simple_src} ${simple_include}) target_include_directories(simple PUBLIC include/) -target_link_libraries(simple PRIVATE service) +target_link_libraries(simple PUBLIC service) add_subdirectory(utils) -- cgit v1.2.3