Last change
on this file since 9e08f27 was f0fd18a, checked in by GitHub <noreply@…>, 8 years ago |
Merge pull request #41 from jlingema/master
Fix remaining ROOT version check.
|
-
Property mode
set to
100644
|
File size:
658 bytes
|
Rev | Line | |
---|
[7fe06d6] | 1 | include_directories(
|
---|
| 2 | ${CMAKE_SOURCE_DIR}/external
|
---|
| 3 | ${ROOT_INCLUDE_DIRS}
|
---|
| 4 | )
|
---|
| 5 |
|
---|
| 6 | file(GLOB sources *.cc)
|
---|
| 7 | file(GLOB headers *.h)
|
---|
| 8 | list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h)
|
---|
| 9 |
|
---|
[be6c1c8] | 10 | DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h)
|
---|
[7fe06d6] | 11 |
|
---|
| 12 | add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx)
|
---|
| 13 |
|
---|
[9259bfe] | 14 | # install headers
|
---|
[8c872c8] | 15 | install(FILES ${headers} DESTINATION include/ExRootAnalysis)
|
---|
[0f5bf9d] | 16 |
|
---|
| 17 | # install pcms if they are created
|
---|
[82cf9c4] | 18 | if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0")
|
---|
[0f5bf9d] | 19 | install(FILES
|
---|
| 20 | ${PROJECT_BINARY_DIR}/external/ExRootAnalysis/libExRootAnalysisDict_rdict.pcm
|
---|
| 21 | DESTINATION lib)
|
---|
| 22 | endif()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.