diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-18 00:34:02 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-18 00:34:02 +0300 |
commit | 6b009273e76711fd484d436d0b6835cc6aa32089 (patch) | |
tree | 5cf230ee2a854247deb6c66eeb2595363d7ab60e /server/lexer | |
parent | AppVeyor: reorder images, VS 2019 first (diff) | |
download | math-server-6b009273e76711fd484d436d0b6835cc6aa32089.tar.gz math-server-6b009273e76711fd484d436d0b6835cc6aa32089.zip |
cmake: files are per-directory, not per-extension
Diffstat (limited to '')
-rw-r--r-- | server/lexer/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/lexer/CMakeLists.txt b/server/lexer/CMakeLists.txt index fffb5a3..68914d9 100644 --- a/server/lexer/CMakeLists.txt +++ b/server/lexer/CMakeLists.txt @@ -1,6 +1,5 @@ -file(GLOB_RECURSE lexer_cpp "*.cpp") -file(GLOB_RECURSE lexer_hpp "*.hpp") -add_library(lexer ${lexer_cpp} ${lexer_hpp}) +file(GLOB_RECURSE lexer_src "*.cpp" "*.hpp") +add_library(lexer ${lexer_src}) target_include_directories(lexer PUBLIC ..) target_link_libraries(lexer PUBLIC common) |