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 committed Dec 5, 2023
1 parent dadf088 commit 8d44b13
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 8d44b13

Please sign in to comment.