From 6cce85b3a34a4a27d678abf0b4c005a38afd1738 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 17 Oct 2020 18:38:17 +0300 Subject: cmake: no more target_include_directories hacks --- server/lexer/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/lexer/CMakeLists.txt') diff --git a/server/lexer/CMakeLists.txt b/server/lexer/CMakeLists.txt index 64375e8..fffb5a3 100644 --- a/server/lexer/CMakeLists.txt +++ b/server/lexer/CMakeLists.txt @@ -1,6 +1,8 @@ file(GLOB_RECURSE lexer_cpp "*.cpp") file(GLOB_RECURSE lexer_hpp "*.hpp") add_library(lexer ${lexer_cpp} ${lexer_hpp}) +target_include_directories(lexer PUBLIC ..) + target_link_libraries(lexer PUBLIC common) find_package(Boost REQUIRED COMPONENTS regex) -- cgit v1.2.3