Skip to content

Commit 724d4cd

Browse files
committed
fixed linkage
1 parent f9d94fc commit 724d4cd

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
@@ -386,7 +386,7 @@ if(EMSCRIPTEN)
386386
find_package(xeus-lite REQUIRED)
387387
find_package(nlohmann_json REQUIRED)
388388
add_executable(xlua src/main_emscripten_kernel.cpp )
389-
target_link_libraries(xlua PRIVATE xeus-lite nlohmann_json)
389+
target_link_libraries(xlua PRIVATE xeus-lite nlohmann_json::nlohmann_json)
390390
target_compile_features(xlua PRIVATE cxx_std_17)
391391
xeus_lua_set_kernel_options(xlua)
392392
xeus_wasm_compile_options(xlua)

0 commit comments

Comments
 (0)