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 @@ -14,6 +14,7 @@ set(XEUS_CPP_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
14
14
15
15
enable_language (CXX)
16
16
set (CMAKE_CXX_EXTENSIONS NO )
17
+ set (CMAKE_POSITION_INDEPENDENT_CODE ON )
17
18
18
19
include (GNUInstallDirs)
19
20
@@ -315,10 +316,7 @@ macro(xeus_cpp_create_target target_name linkage output_name)
315
316
endif ()
316
317
317
318
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 ()
319
+ if (NOT EMSCRIPTEN)
322
320
target_link_libraries (${target_name} PUBLIC Python::Python)
323
321
endif ()
324
322
You can’t perform that action at this time.
0 commit comments