diff --git a/CMakeLists.txt b/CMakeLists.txt
index b464c94..0a29446 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,11 +23,23 @@ project(
DESCRIPTION "standalone boost::unordered library")
option(BUS_INCLUDE_TESTS "Include tests in the build" ${BUS_MASTER_PROJECT})
+option(BUS_SYSTEM_INCLUDE "Mark boost_unordered headers as system includes" OFF)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
+if(BUS_SYSTEM_INCLUDE)
+ set(BUS_SYSTEM_TAG "SYSTEM")
+endif()
+
+add_library(boost_unordered INTERFACE)
+target_include_directories(
+ boost_unordered
+ ${BUS_SYSTEM_TAG} INTERFACE
+ $
+ $)
+
if(BUS_INCLUDE_TESTS)
include(CTest)
add_subdirectory(test)