Skip to content
Snippets Groups Projects
Verified Commit 3794b20f authored by Tobias Triffterer's avatar Tobias Triffterer :house_with_garden:
Browse files

Install ROOT Files with CMake

When “make install” is called for the main project, some files from ROOT
(binaries, libraries, config files, .rootmap files, etc.) are copied to
the installation prefix given to CMake.
parent a236540e
No related branches found
No related tags found
No related merge requests found
Pipeline #2947 passed with stage
in 20 seconds
......@@ -93,3 +93,12 @@ AddRootLibraryTarget(LIBNAME HistPainter DEPENDENCIES Gpad Graf Hist MathCore Ma
AddRootLibraryTarget(LIBNAME Smatrix DEPENDENCIES Core MathCore)
AddRootLibraryTarget(LIBNAME RooFitCore DEPENDENCIES Core Hist Graf Matrix Tree Minuit RIO MathCore Foam Smatrix)
AddRootLibraryTarget(LIBNAME RooFit DEPENDENCIES Core RooFitCore Tree RIO Matrix MathCore)
include(GNUInstallDirs)
install(DIRECTORY "${PROJECT_BINARY_DIR}/root_install/bin/" TYPE BIN USE_SOURCE_PERMISSIONS)
install(DIRECTORY "${PROJECT_BINARY_DIR}/root_install/lib/" TYPE LIB USE_SOURCE_PERMISSIONS)
install(DIRECTORY "${PROJECT_BINARY_DIR}/root_install/etc/" TYPE SYSCONF USE_SOURCE_PERMISSIONS)
install(DIRECTORY "${PROJECT_BINARY_DIR}/root_install/fonts/" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/fonts/truetype/")
install(DIRECTORY "${PROJECT_BINARY_DIR}/root_install/man/" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/man/")
install(FILES "${PROJECT_BINARY_DIR}/root_install/LICENSE" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/root/")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment