add variable for GUI libraries

This commit is contained in:
wang_x1 2016-09-01 12:05:59 +02:00
parent 59d8584a9e
commit 13aa0599af

View File

@ -4,6 +4,7 @@
# ROOT_FOUND If the ROOT is found # ROOT_FOUND If the ROOT is found
# ROOT_INCLUDE_DIR PATH to the include directory # ROOT_INCLUDE_DIR PATH to the include directory
# ROOT_LIBRARIES Most common libraries # ROOT_LIBRARIES Most common libraries
# ROOT_GUI_LIBRARIES Most common libraries + GUI
# ROOT_LIBRARY_DIR PATH to the library directory # ROOT_LIBRARY_DIR PATH to the library directory
@ -35,8 +36,13 @@ else()
OUTPUT_VARIABLE ROOT_LIBRARIES OUTPUT_VARIABLE ROOT_LIBRARIES
OUTPUT_STRIP_TRAILING_WHITESPACE) OUTPUT_STRIP_TRAILING_WHITESPACE)
set(ROOT_LIBRARIES ${ROOT_LIBRARIES} -lThread -lMinuit -lHtml -lVMC -lEG -lGeom -lTreePlayer -lXMLIO -lProof) execute_process(
set(ROOT_LIBRARIES ${ROOT_LIBRARIES} -lProofPlayer -lMLP -lSpectrum -lEve -lRGL -lGed -lXMLParser -lPhysics) COMMAND ${ROOT_CONFIG_EXECUTABLE} --glibs
OUTPUT_VARIABLE ROOT_GUI_LIBRARIES
OUTPUT_STRIP_TRAILING_WHITESPACE)
#set(ROOT_LIBRARIES ${ROOT_LIBRARIES} -lThread -lMinuit -lHtml -lVMC -lEG -lGeom -lTreePlayer -lXMLIO -lProof)
#set(ROOT_LIBRARIES ${ROOT_LIBRARIES} -lProofPlayer -lMLP -lSpectrum -lEve -lRGL -lGed -lXMLParser -lPhysics)
set(ROOT_LIBRARY_DIR ${ROOTSYS}/lib) set(ROOT_LIBRARY_DIR ${ROOTSYS}/lib)
# Make variables changeble to the advanced user # Make variables changeble to the advanced user