-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set SofaPython3 environment * Set SofaPython3 environment (2) * Remove SofaPythonX hard dependency * FIX SoftRobotsConfig.cmake.in
- Loading branch information
Showing
4 changed files
with
22 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,17 @@ | |
|
||
@PACKAGE_INIT@ | ||
|
||
find_package(SofaFramework REQUIRED) | ||
if(@SofaPython_FOUND@) | ||
find_package(SofaPython) | ||
endif() | ||
if(@STLIB_FOUND@) | ||
find_package(STLIB) | ||
endif() | ||
set(SOFTROBOTS_HAVE_SOFAPYTHON @SOFTROBOTS_HAVE_SOFAPYTHON@) | ||
set(SOFTROBOTS_HAVE_SOFAPYTHON3 @SOFTROBOTS_HAVE_SOFAPYTHON3@) | ||
set(SOFTROBOTS_HAVE_STLIB @SOFTROBOTS_HAVE_STLIB@) | ||
|
||
find_package(SofaFramework QUIET REQUIRED) | ||
find_package(SofaCommon QUIET REQUIRED) | ||
find_package(SofaMisc QUIET REQUIRED) | ||
find_package(SofaSparseSolver QUIET REQUIRED) | ||
find_package(SofaConstraint QUIET REQUIRED) | ||
|
||
find_package(Qt5 QUIET REQUIRED COMPONENTS Network) | ||
include_directories("${Qt5Network_INCLUDE_DIRS}") | ||
|
||
if(NOT TARGET @PROJECT_NAME@) | ||
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters