Skip to content
Snippets Groups Projects
Unverified Commit 06b2930c authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn Committed by GitHub
Browse files

Merge pull request #23 from mirguest/fixed-kaltest-path

WIP: Fixed the hard-code problem.
parents 319ce9d6 92bbc623
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,14 @@ FOREACH( lib_input_dir ${lib_input_dirs} ) ...@@ -31,7 +31,14 @@ FOREACH( lib_input_dir ${lib_input_dirs} )
LIST( APPEND ROOT_DICT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/${lib_input_dir} ) LIST( APPEND ROOT_DICT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/${lib_input_dir} )
ENDFOREACH() ENDFOREACH()
LIST( APPEND ROOT_DICT_INCLUDE_DIRS /workfs/bes/fucd/Key4hep/CEPCSW/Utilities/KalTest ) # LIST( APPEND ROOT_DICT_INCLUDE_DIRS /workfs/bes/fucd/Key4hep/CEPCSW/Utilities/KalTest )
# get the include directory of KalTest
get_target_property(to_incl KalTestLib SOURCE_DIR)
if (to_incl)
LIST( APPEND ROOT_DICT_INCLUDE_DIRS ${to_incl})
else()
message(FATAL_ERROR "Failed to get the source dir for package KalTestLib")
endif()
#MESSAGE( STATUS "ROOT_DICT_INCLUDE_DIRS: ${ROOT_DICT_INCLUDE_DIRS}" ) #MESSAGE( STATUS "ROOT_DICT_INCLUDE_DIRS: ${ROOT_DICT_INCLUDE_DIRS}" )
......
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