Skip to content

Commit

Permalink
Fixed compilation issues on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgheata authored and agheata committed Apr 11, 2016
1 parent 5a32ece commit ded69d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geom/vecgeom/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ include_directories(AFTER SYSTEM ${VECGEOM_INCLUDE_DIR})
if ( Vc_FOUND )
include_directories( AFTER SYSTEM ${Vc_INCLUDE_DIRS})
set(VC_LIBRARIES ${Vc_LIBRARIES})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fabi-version=6")
endif()

ROOT_GENERATE_DICTIONARY(G__VecGeom TGeoVGConverter.h MODULE VecGeom LINKDEF LinkDef.h)

ROOT_LINKER_LIBRARY(VecGeom *.cxx G__VecGeom.cxx LIBRARIES Core ${VECGEOM_LIBRARIES} DEPENDENCIES Geom)
ROOT_LINKER_LIBRARY(VecGeom *.cxx G__VecGeom.cxx LIBRARIES Core ${VECGEOM_LIBRARIES} -ldl DEPENDENCIES Geom)

ROOT_INSTALL_HEADERS()

0 comments on commit ded69d0

Please sign in to comment.