From 9ada1c0fd699d9b9c746688c5c39cd72a0c7593d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 17 Oct 2020 10:49:37 +0300 Subject: cmake: minor tweks for the greater good --- server/common/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'server/common') diff --git a/server/common/CMakeLists.txt b/server/common/CMakeLists.txt index 5fe9e7f..284003f 100644 --- a/server/common/CMakeLists.txt +++ b/server/common/CMakeLists.txt @@ -1,4 +1,5 @@ -find_package(Boost REQUIRED) - add_library(common INTERFACE) +target_include_directories(common INTERFACE .) + +find_package(Boost REQUIRED) target_link_libraries(common INTERFACE Boost::boost) -- cgit v1.2.3