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 0a9e71e commit a8c460bCopy full SHA for a8c460b
CMakeLists.txt
@@ -390,7 +390,12 @@ add_library(xeus-cpp-headers INTERFACE)
390
set_target_properties(xeus-cpp-headers PROPERTIES PUBLIC_HEADER "${XCPP_HEADERS}")
391
392
if (EMSCRIPTEN)
393
- install(TARGETS xeus-cpp-headers PUBLIC_HEADER DESTINATION ${SYSROOT_PATH}/include/xcpp)
+ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${SYSROOT_PATH}/include/xcpp)
394
+
395
+ message(STATUS "Moving headers to ${SYSROOT_PATH}/include/xcpp")
396
+ foreach(header ${XCPP_HEADERS})
397
+ file(COPY ${header} DESTINATION ${SYSROOT_PATH}/include/xcpp)
398
+ endforeach()
399
else ()
400
install(TARGETS xeus-cpp-headers PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/xcpp)
401
endif()
0 commit comments