Skip to content

Commit 37702dd

Browse files
committed
Fix build issues
1 parent 11297a9 commit 37702dd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,12 @@ macro(xeus_cpp_create_target target_name linkage output_name)
343343
if (MSVC)
344344
target_compile_options(${target_name} PRIVATE "/MD$<$<CONFIG:Debug>:d>")
345345
endif()
346-
elseif (NOT EMSCRIPTEN)
346+
# elseif (NOT EMSCRIPTEN)
347+
else ()
347348
# Curl initialised specifically for xassist
348349
target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse curl)
349-
else ()
350-
target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse)
350+
# else ()
351+
# target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse)
351352
endif()
352353

353354
if (WIN32 OR CYGWIN)

test/test_xcpp_kernel.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ class XCppTests(jupyter_kernel_test.KernelTests):
8080
code_hello_world = '#include <iostream>\nstd::cout << "hello, world";'
8181

8282
# Code that should cause (any) text to be written to STDERR
83-
code_stderr = '#include <iostream>\nstd::cerr << "oops";'
83+
code_stderr = """
84+
#include <iostream>
85+
std::cerr << "oops" << std::endl;
86+
"""
8487

8588
# Pager: code that should display something (anything) in the pager
8689
code_page_something = "?std::vector"

0 commit comments

Comments
 (0)