Skip to content

Commit 53d1686

Browse files
Fix include paths for xcpp17 lite kernel (#309)
Co-authored-by: Sylvain Corlay <[email protected]>
1 parent a301271 commit 53d1686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ function(configure_native_kernel kernel)
148148
endfunction()
149149

150150
function(configure_wasm_kernel kernel)
151-
set(XEUS_CPP_RESOURCE_DIR "/lib/clang/${CPPINTEROP_LLVM_VERSION_MAJOR}" PARENT_SCOPE)
152151

153152
configure_file (
154153
"${CMAKE_CURRENT_SOURCE_DIR}${kernel}wasm_kernel.json.in"
@@ -170,6 +169,7 @@ endfunction()
170169

171170
message("Configure kernels: ...")
172171
if(EMSCRIPTEN)
172+
set(XEUS_CPP_RESOURCE_DIR "/lib/clang/${CPPINTEROP_LLVM_VERSION_MAJOR}")
173173
configure_wasm_kernel("/share/jupyter/kernels/xcpp17/")
174174
configure_wasm_kernel("/share/jupyter/kernels/xcpp20/")
175175
configure_wasm_kernel("/share/jupyter/kernels/xcpp23/")

0 commit comments

Comments
 (0)