forked from SofaDefrost/SoftRobots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSoftRobotsConfig.cmake.in
38 lines (31 loc) · 1.16 KB
/
SoftRobotsConfig.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
35
36
37
# CMake package configuration file for the @PROJET_NAME@ plugin
@PACKAGE_INIT@
set(SOFTROBOTS_HAVE_SOFAPYTHON @SOFTROBOTS_HAVE_SOFAPYTHON@)
set(SOFTROBOTS_HAVE_SOFAPYTHON3 @SOFTROBOTS_HAVE_SOFAPYTHON3@)
set(SOFTROBOTS_HAVE_STLIB @SOFTROBOTS_HAVE_STLIB@)
set(SOFTROBOTS_HAVE_SOFA_GL @SOFTROBOTS_HAVE_SOFA_GL@)
find_package(SofaFramework QUIET REQUIRED)
find_package(SofaUserInteraction QUIET REQUIRED)
find_package(SofaBaseMechanics QUIET REQUIRED)
find_package(SofaConstraint QUIET REQUIRED)
find_package(SofaRigid QUIET REQUIRED)
find_package(SofaMiscMapping QUIET REQUIRED)
find_package(SofaEngine QUIET REQUIRED)
find_package(SofaSparseSolver QUIET REQUIRED)
find_package(Qt5 QUIET REQUIRED COMPONENTS Network)
if(SOFTROBOTS_HAVE_SOFAPYTHON)
find_package(SofaPython QUIET REQUIRED)
endif()
if(SOFTROBOTS_HAVE_SOFAPYTHON3)
find_package(SofaPython3 QUIET REQUIRED)
endif()
if(SOFTROBOTS_HAVE_STLIB)
find_package(STLIB QUIET REQUIRED)
endif()
if(SOFTROBOTS_HAVE_SOFA_GL)
find_package(Sofa.GL QUIET REQUIRED)
endif()
if(NOT TARGET @PROJECT_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
endif()
check_required_components(@PROJECT_NAME@)