We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee2664b commit 15a669aCopy full SHA for 15a669a
CMakeLists.txt
@@ -39,6 +39,11 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS
39
FORCE
40
)
41
42
+find_package(Boost REQUIRED)
43
+if(Boost_FOUND)
44
+ message(STATUS "Found Boost ${Boost_VERSION}.")
45
+endif()
46
+
47
if(YSTDLIB_CPP_IS_TOP_LEVEL)
48
# Include dependency settings if the project isn't being included as a subproject.
49
# NOTE: We mark the file optional because if the user happens to have the dependencies
src/ystdlib/error_handling/CMakeLists.txt
@@ -6,6 +6,8 @@ cpp_library(
6
TraceableException.hpp
7
Result.hpp
8
utils.hpp
9
+ PUBLIC_LINK_LIBRARIES
10
+ Boost::headers
11
TESTS_SOURCES
12
test/constants.hpp
13
test/test_ErrorCode.cpp
0 commit comments