Skip to content

Commit 2604f10

Browse files
committed
Add the umbrella to core too,
1 parent 8805d50 commit 2604f10

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmake/idi/functions/framework/idi_src.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ macro(idi_src)
127127
file(MAKE_DIRECTORY "${_umbrella_dir}/${IDICMAKE_PROJECT_NAME}")
128128
file(WRITE "${_umbrella_file}" "${_umbrella_content}")
129129
target_include_directories("${IDICMAKE_PROJECT_NAME}_public" INTERFACE "${_umbrella_dir}")
130+
# Also expose to core so all targets in the project can
131+
# use the umbrella header.
132+
target_include_directories("${IDICMAKE_CORE}" PUBLIC "${_umbrella_dir}")
130133

131134
# Install the umbrella header alongside the other public headers
132135
install(FILES "${_umbrella_file}"

0 commit comments

Comments
 (0)