swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Raw File
Tip revision: 929eecf078671db1d9abffdb50bd8b167b2da5a3 authored by Axel Naumann on 07 February 2014, 21:58:31 UTC
Make ROOT 6 Beta 2 (5.99.05).
Tip revision: 929eecf
CMakeLists.txt
############################################################################
# CMakeLists.txt file for building ROOT rootx package
# @author Pere Mato, CERN
############################################################################

ROOT_USE_PACKAGE(core)
if(x11)
  include_directories(${X11_INCLUDE_DIR})
  ROOT_EXECUTABLE(root *.cxx  ${CMAKE_SOURCE_DIR}/core/clib/src/strlcpy.c
                  LIBRARIES ${X11_LIBRARIES} ${X11_Xpm_LIB} ${X11_Xft_LIB} ${X11_Xext_LIB})
elseif(cocoa)
  add_custom_target(root ALL 
                    COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/root.exe ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/root)
  add_dependencies(root root.exe)
  install(PROGRAMS ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/root
          DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT applications)
endif()
back to top