Skip to content

Commit 52c062d

Browse files
committed
Export ProjectConfig
1 parent ca8093f commit 52c062d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ if (TARGET flatbuffers)
285285
# This means `flatbuffers` was fetched using FetchContent
286286
# We need to export `flatbuffers` target explicitly
287287
list(APPEND SPARROW_IPC_EXPORTED_TARGETS flatbuffers)
288+
if(TARGET ProjectConfig)
289+
# This is an internal target from the flatbuffers build system
290+
# that also needs to be exported
291+
list(APPEND SPARROW_IPC_EXPORTED_TARGETS ProjectConfig)
292+
endif()
288293
endif()
289294
endif()
290295

0 commit comments

Comments
 (0)