-
Notifications
You must be signed in to change notification settings - Fork 23
/
BeamAdapterConfig.cmake.in
34 lines (26 loc) · 1.2 KB
/
BeamAdapterConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# CMake package configuration file for the BeamAdapter plugin
@PACKAGE_INIT@
set(BEAMADAPTER_HAVE_SOFAIMPLICITFIELD @BEAMADAPTER_HAVE_SOFAIMPLICITFIELD@)
set(BEAMADAPTER_HAVE_SOFADVANCEDCONSTRAINT @BEAMADAPTER_HAVE_SOFADVANCEDCONSTRAINT@)
set(BEAMADAPTER_HAVE_SOFACUDA @BEAMADAPTER_HAVE_SOFACUDA@)
find_package(Sofa.Simulation.Core QUIET REQUIRED)
find_package(Sofa.Component.StateContainer QUIET REQUIRED)
find_package(Sofa.Component.Controller QUIET REQUIRED)
find_package(Sofa.Component.Topology.Container.Dynamic QUIET REQUIRED)
find_package(Sofa.Component.Topology.Mapping QUIET REQUIRED)
find_package(Sofa.Component.Collision.Geometry QUIET REQUIRED)
find_package(Sofa.Component.Constraint.Projective QUIET REQUIRED)
find_package(Sofa.Component.Constraint.Lagrangian QUIET REQUIRED)
if(BEAMADAPTER_HAVE_SOFAIMPLICITFIELD)
find_package(SofaImplicitField QUIET REQUIRED)
endif()
if(BEAMADAPTER_HAVE_SOFADVANCEDCONSTRAINT)
find_package(SofaAdvancedConstraint QUIET REQUIRED)
endif()
if(BEAMADAPTER_HAVE_SOFACUDA)
find_package(SofaCUDA QUIET REQUIRED)
endif()
if(NOT TARGET @PROJECT_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
endif()
check_required_components(BeamAdapter)