We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040d307 commit 02e7981Copy full SHA for 02e7981
CMakeLists.txt
@@ -322,7 +322,10 @@ macro(xeus_cpp_create_target target_name linkage output_name)
322
endif ()
323
324
target_link_libraries(${target_name} PUBLIC ${XEUS_CPP_XEUS_TARGET} clangCppInterOp pugixml argparse::argparse xtl)
325
- if (NOT EMSCRIPTEN)
+ if (EMSCRIPTEN)
326
+ # For some reason emscripten cannot find Python::Python.
327
+ target_link_libraries(${target_name} PUBLIC Development.Embed)
328
+ else()
329
target_link_libraries(${target_name} PUBLIC Python::Python)
330
endif()
331
0 commit comments