diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 18:38:17 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-17 18:38:17 +0300 |
commit | 6cce85b3a34a4a27d678abf0b4c005a38afd1738 (patch) | |
tree | f0c699f6f92b59e7e6613a30c8dd0e3ce3585540 /server/lexer/CMakeLists.txt | |
parent | update cmake-common (diff) | |
download | math-server-6cce85b3a34a4a27d678abf0b4c005a38afd1738.tar.gz math-server-6cce85b3a34a4a27d678abf0b4c005a38afd1738.zip |
cmake: no more target_include_directories hacks
Diffstat (limited to 'server/lexer/CMakeLists.txt')
-rw-r--r-- | server/lexer/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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) |