Fork me on GitHub

source: git/display/CMakeLists.txt@ f08ddc6

ImprovedOutputFile Timing dual_readout llp
Last change on this file since f08ddc6 was f08ddc6, checked in by Joschka Lingemann <joschka.lingemann@…>, 7 years ago

Correctly check ROOT version.

  • Property mode set to 100644
File size: 546 bytes
Line 
1include_directories(
2 ${CMAKE_SOURCE_DIR}
3 ${ROOT_INCLUDE_DIRS}
4 ${DelphesExternals_INCLUDE_DIR}
5)
6
7file(GLOB sources *.cc)
8file(GLOB headers *.h)
9list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/DisplayLinkDef.h)
10
11DELPHES_GENERATE_DICTIONARY(DisplayDict ${headers} LINKDEF DisplayLinkDef.h)
12
13add_library(display OBJECT ${sources} DisplayDict.cxx)
14
15# install pcms if they are created
16if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0")
17 install(FILES
18 ${PROJECT_BINARY_DIR}/display/libDisplayDict_rdict.pcm
19 DESTINATION lib)
20endif()
Note: See TracBrowser for help on using the repository browser.