Skip to content

Commit 15a669a

Browse files
author
xwei19
committed
Fix build CI (Kirk figured this)
1 parent ee2664b commit 15a669a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS
3939
FORCE
4040
)
4141

42+
find_package(Boost REQUIRED)
43+
if(Boost_FOUND)
44+
message(STATUS "Found Boost ${Boost_VERSION}.")
45+
endif()
46+
4247
if(YSTDLIB_CPP_IS_TOP_LEVEL)
4348
# Include dependency settings if the project isn't being included as a subproject.
4449
# NOTE: We mark the file optional because if the user happens to have the dependencies

src/ystdlib/error_handling/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ cpp_library(
66
TraceableException.hpp
77
Result.hpp
88
utils.hpp
9+
PUBLIC_LINK_LIBRARIES
10+
Boost::headers
911
TESTS_SOURCES
1012
test/constants.hpp
1113
test/test_ErrorCode.cpp

0 commit comments

Comments
 (0)