File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -523,6 +523,14 @@ set(CPPINTEROP_INCLUDE_DIRS
523523 CACHE STRING "CppInterOp include directories." )
524524
525525#---Set InterOp to build on Cling, this can be toggled to use Clang-REPL-------------------------------------------------------
526- set (CPPINTEROP_USE_CLING ON BOOL "Use Cling as backend" )
526+ set (CPPINTEROP_USE_CLING ON CACHE BOOL "" FORCE)
527+ set (CPPINTEROP_USE_REPL OFF CACHE BOOL "" FORCE)
528+
529+ #---Disable testing on InterOp if ROOT's testing is OFF (InterOp tests are enabled by default) -------------------------------------------------------
530+ if (testing)
531+ set (CPPINTEROP_ENABLE_TESTING ON CACHE BOOL "" FORCE)
532+ else ()
533+ set (CPPINTEROP_ENABLE_TESTING OFF CACHE BOOL "" )
534+ endif ()
527535
528536add_subdirectory (CppInterOp)
You can’t perform that action at this time.
0 commit comments