Skip to content

Commit 9ea549a

Browse files
authored
link boost_mp11 as a system library to avoid compiler warnings/errors on it (#29)
1 parent 05296ae commit 9ea549a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ add_versioned_package("gh:boostorg/mp11#boost-1.83.0")
1010
add_library(safe_arithmetic INTERFACE)
1111
target_compile_features(safe_arithmetic INTERFACE cxx_std_20)
1212
target_include_directories(safe_arithmetic INTERFACE include)
13-
target_link_libraries(safe_arithmetic INTERFACE boost_mp11)
13+
target_link_libraries_system(safe_arithmetic INTERFACE boost_mp11)
1414

1515
if(PROJECT_IS_TOP_LEVEL)
1616
add_docs(docs)

0 commit comments

Comments
 (0)