Skip to content
Snippets Groups Projects
Commit 5a98143a authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

VP1Base: cmake fix

Missing dependency on GeoModelKernel.
parent ce1f0bfb
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Set the name of the package:
atlas_subdir( VP1Base )
......@@ -18,6 +18,7 @@ message ( STATUS " > Compiling on ${_os}" )
find_package( Qt5 COMPONENTS Core OpenGL Gui PrintSupport Widgets )
find_package( SoQt )
find_package( Coin3D )
find_package( GeoModel COMPONENTS GeoModelKernel )
# Generate UI files automatically:
# Note: add the "Widgets" component to "find_package( Qt5 ...)" if you have UI files, otherwise UIC, even if CMAKE_AUTOUIC is set to ON, is not run
......@@ -32,7 +33,7 @@ set( CMAKE_AUTORCC TRUE )
# declaration of PRIVATE_INCLUDE_DIRS.
atlas_add_library( VP1Base VP1Base/*.h src/*.cxx src/*.qrc
PUBLIC_HEADERS VP1Base
INCLUDE_DIRS ${QT5_INCLUDE_DIRS} ${SOQT_INCLUDE_DIRS} ${COIN3D_INCLUDE_DIRS}
INCLUDE_DIRS ${QT5_INCLUDE_DIRS} ${SOQT_INCLUDE_DIRS} ${COIN3D_INCLUDE_DIRS} ${GEOMODEL_INCLUDE_DIRS}
PRIVATE_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}
LINK_LIBRARIES ${QT5_LIBRARIES} ${SOQT_LIBRARIES} ${COIN3D_LIBRARIES} GeoPrimitives xAODBase
LINK_LIBRARIES ${QT5_LIBRARIES} ${SOQT_LIBRARIES} ${COIN3D_LIBRARIES} ${GEOMODEL_LIBRARIES} GeoPrimitives xAODBase
PRIVATE_LINK_LIBRARIES VP1HEPVis )
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