File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ jobs:
196
196
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
197
197
..
198
198
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make -j5
199
+
199
200
- name : Setup tmate session
200
201
if : ${{ failure() && runner.debug }}
201
202
uses : mxschmitt/action-tmate@v3
Original file line number Diff line number Diff line change @@ -314,7 +314,14 @@ macro(xeus_cpp_create_target target_name linkage output_name)
314
314
set (XEUS_CPP_XEUS_TARGET xeus-static )
315
315
endif ()
316
316
317
- target_link_libraries (${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse xtl Python::Python)
317
+ target_link_libraries (${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse xtl)
318
+ if (EMSCRIPTEN)
319
+ # For some reason emscripten cannot find Python::Python.
320
+ target_link_libraries (${target_name} PUBLIC Development.Embed)
321
+ else ()
322
+ target_link_libraries (${target_name} PUBLIC Python::Python)
323
+ endif ();
324
+
318
325
if (WIN32 OR CYGWIN )
319
326
#
320
327
elseif (APPLE )
You can’t perform that action at this time.
0 commit comments