aom: cmake: populate INTERFACE_INCLUDE_DIRECTORIES property

From 01d1b1469555c0163a10e9cb192aabb5a218a4a9 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 25 Jan 2024 20:26:46 +0100
Subject: [PATCH] cmake: populate INTERFACE_INCLUDE_DIRECTORIES property

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed9cdccb7..fca6eebb2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -271,6 +271,7 @@ if(ENABLE_EXAMPLES)
 endif()
 
 add_library(aom ${AOM_SOURCES} $<TARGET_OBJECTS:aom_rtcd>)
+target_include_directories(aom INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")
 if(BUILD_SHARED_LIBS)
   add_library(aom_static STATIC ${AOM_SOURCES} $<TARGET_OBJECTS:aom_rtcd>)
   if(NOT MSVC)