Skip to content

Commit

Permalink
Workaround for rootDict depending on SIO variables being populated af…
Browse files Browse the repository at this point in the history
…ter pulling SIO through FetchContent. TODO: use modern ROOT macros and targets.
  • Loading branch information
arummler authored and tmadlener committed Dec 6, 2023
1 parent 46bd3c1 commit 2e8f10a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ IF( NOT SIO_FOUND )
)

FetchContent_MakeAvailable(sio_extern)

get_target_property(SIO_VERSION SIO::sio VERSION)
get_target_property(SIO_INCLUDE_DIRS SIO::sio INCLUDE_DIRECTORIES)
ENDIF()

MESSAGE( STATUS "Using SIO (${SIO_VERSION})" )
Expand Down

0 comments on commit 2e8f10a

Please sign in to comment.