Skip to content
Snippets Groups Projects
Commit 133573a8 authored by Enric Tejedor Saavedra's avatar Enric Tejedor Saavedra
Browse files

Define variables with path and name of kernel.json file

parent 1dea7303
Branches
Tags
No related merge requests found
......@@ -135,8 +135,10 @@ foreach(var ${variables})
endforeach()
#---Make sure the Jupyter ROOT C++ kernel runs with the same Python version as ROOT-----
configure_file(${CMAKE_SOURCE_DIR}/etc/notebook/kernels/root/kernel.json.in ${CMAKE_BINARY_DIR}/etc/notebook/kernels/root/kernel.json)
install(FILES ${CMAKE_BINARY_DIR}/etc/notebook/kernels/root/kernel.json DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/notebook/kernels/root/)
set(root_kernel_dir etc/notebook/kernels/root)
set(root_kernel_file kernel.json)
configure_file(${CMAKE_SOURCE_DIR}/${root_kernel_dir}/${root_kernel_file}.in ${CMAKE_BINARY_DIR}/${root_kernel_dir}/${root_kernel_file})
install(FILES ${CMAKE_BINARY_DIR}/${root_kernel_dir}/${root_kernel_file} DESTINATION ${CMAKE_INSTALL_PREFIX}/${root_kernel_dir})
#---Move (copy) directories to binary tree------------------------------------------------------
set(stamp_file ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/move_artifacts.stamp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment