IAP GITLAB

Commit 9b60a7ba authored by Colin Baus's avatar Colin Baus

mac os thinks there is a line break. line break now stripped

git-svn-id: https://devel-ik.fzk.de/svn/mc/crmc/trunk@4140 c7a5e08c-de06-0410-9364-b41cf42a0b17
parent 61233e5a
......@@ -77,11 +77,13 @@ FIND_PACKAGE (Boost 1.35 REQUIRED COMPONENTS filesystem iostreams system program
FIND_PACKAGE (HepMC REQUIRED COMPONENTS HepMC HepMCfio)
# prepare crmc to use same size HEPMC common block than HepMC was compiled with
STRING ( STRIP ${HepMC_HEPEVT_SIZE} Replace_String )
FILE(READ ${PROJECT_SOURCE_DIR}/src/epos.inc-HEPMC-TEMPLATE template)
STRING( REGEX REPLACE "HEPEVT_SIZE_REPLACE" "${HepMC_HEPEVT_SIZE}" template2 "${template}")
STRING( REGEX REPLACE "HEPEVT_SIZE_REPLACE" "${Replace_String}" template2 "${template}")
FILE(WRITE ${PROJECT_SOURCE_DIR}/src/epos.inc "${template2}")
FILE(READ ${PROJECT_SOURCE_DIR}/src/CRMCinterface.h-HEPMC-TEMPLATE template3)
STRING( REGEX REPLACE "HEPEVT_SIZE_REPLACE" "${HepMC_HEPEVT_SIZE}" template4 "${template3}")
STRING( REGEX REPLACE "HEPEVT_SIZE_REPLACE" "${Replace_String}" template4 "${template3}")
FILE(WRITE ${PROJECT_SOURCE_DIR}/src/CRMCinterface.h "${template4}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment