Skip to content
Snippets Groups Projects
Commit 2fceeaf0 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: CMakeLists.txt

parent 13023017
Branches master
No related tags found
No related merge requests found
......@@ -8,6 +8,18 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
# project name
PROJECT( SiTrackerDigitizer )
find_library(GENFIT NAMES genfit2 libgenfit2
HINTS $ENV{HOME}/lib
"${CMAKE_PREFIX_PATH}/lib"
"${CMAKE_PREFIX_PATH}/lib64"
)
message("GENFIT = ${GENFIT}")
if( ${GENFIT} STREQUAL "GENFIT-NOTFOUND" )
message(FATAL_ERROR " genfit not found")
endif()
link_libraries(${GENFIT})
# project version
SET( ${PROJECT_NAME}_VERSION_MAJOR 0 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment