Skip to content

Commit d6a05be

Browse files
committed
Add libxeus.so to the test directory
1 parent 55a73e5 commit d6a05be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ if(EMSCRIPTEN)
9090
${CMAKE_CURRENT_BINARY_DIR}/libclangCppInterOp.so
9191
COMMENT "Copying libclangCppInterOp.so to the test directory"
9292
)
93+
94+
add_custom_command(TARGET test_xeus_cpp POST_BUILD
95+
COMMAND ${CMAKE_COMMAND} -E copy
96+
${CMAKE_INSTALL_PREFIX}/lib/libxeus.so
97+
${CMAKE_CURRENT_BINARY_DIR}/libxeus.so
98+
COMMENT "Copying libxeus.so to the test directory"
99+
)
93100
else()
94101
find_package(Threads)
95102

0 commit comments

Comments
 (0)