File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ commit 50d1915417283a6f0faf2398eddb59a8de7481c4
2+ Author: Alexeev Bronislav <alexeev.dev@mail.ru >
3+ Date: Mon Aug 4 07:41:36 2025 +0700
4+
5+ update CMakeLists.txt
6+
17commit 9fa882c7811ec4b4b2bc9304ce8d491143603160
28Author: Alexeev Bronislav <alexeev.dev@mail.ru >
39Date: Mon Aug 4 07:39:39 2025 +0700
Original file line number Diff line number Diff line change @@ -13,6 +13,20 @@ project(
1313include (cmake/project-is-top-level.cmake)
1414include (cmake/variables .cmake)
1515
16+ # ---- Find dependencies ----
17+
18+ find_package (Boost REQUIRED)
19+ find_package (Clang REQUIRED)
20+ find_package (LLVM REQUIRED)
21+ find_package (PkgConfig REQUIRED)
22+ find_package (Catch2 REQUIRED)
23+ find_package (absl REQUIRED)
24+ find_package (libxml2 REQUIRED)
25+
26+ # If you have specific components of LLVM or Clang you need, specify them here
27+ find_package (LLVM REQUIRED CONFIG)
28+ find_package (Clang REQUIRED CONFIG)
29+
1630# ---- Declare library ----
1731
1832add_library (
@@ -23,7 +37,7 @@ add_library(
2337target_include_directories (
2438 sleaf-llvm_lib ${warning_guard}
2539 PUBLIC
26- "\ $ <BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /source>"
40+ "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /source>"
2741)
2842
2943target_compile_features (sleaf-llvm_lib PUBLIC cxx_std_20)
You can’t perform that action at this time.
0 commit comments