File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ set(CMAKE_CXX_EXTENSIONS NO)
59
59
include (GNUInstallDirs )
60
60
option (CPPINTEROP_USE_CLING "Use Cling as backend" OFF )
61
61
option (CPPINTEROP_USE_REPL "Use clang-repl as backend" ON )
62
+ option (CPPINTEROP_ENABLE_TESTING "Enable the CppInterOp testing infrastructure." ON )
62
63
63
64
if (CPPINTEROP_USE_CLING AND CPPINTEROP_USE_REPL )
64
65
message (FATAL_ERROR "We can only use Cling (CPPINTEROP_USE_CLING=On) or Repl (CPPINTEROP_USE_REPL=On), but not both of them." )
@@ -453,10 +454,7 @@ option(CPPINTEROP_ENABLE_SPHINX "Use sphinx to generage CppInterOp user document
453
454
454
455
if (EMSCRIPTEN )
455
456
message ("Build with emscripten" )
456
- option (CPPINTEROP_ENABLE_TESTING "Enables the testing infrastructure." OFF )
457
- else ()
458
- message ("Build with cmake" )
459
- option (CPPINTEROP_ENABLE_TESTING "Enables the testing infrastructure." ON )
457
+ set (CPPINTEROP_ENABLE_TESTING OFF )
460
458
endif ()
461
459
462
460
if (MSVC )
You can’t perform that action at this time.
0 commit comments