Skip to content

Commit 289c369

Browse files
committed
[cmake] Fix missing module path for external projects (#104)
* [cmake] Fix missing module path for external projects Signed-off-by: Jean-Nicolas Brunet <[email protected]> * [cmake] Version add a tailing zero to 20.12.0(0) Signed-off-by: Jean-Nicolas Brunet <[email protected]> (cherry picked from commit c89affa)
1 parent 65d008c commit 289c369

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.12)
22

3-
project(SofaPython3 VERSION 20.12.0)
3+
project(SofaPython3 VERSION 20.12.00)
44

55
find_package(SofaFramework REQUIRED)
66

SofaPython3Config.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
set(SP3_WITH_SOFAEXPORTER @SP3_WITH_SOFAEXPORTER@)
77
set(SP3_PYTHON_PACKAGES_DIRECTORY @SP3_PYTHON_PACKAGES_DIRECTORY@)
88

9+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
910
include(SofaPython3Tools)
1011

1112
# Find Python3 executable and set PYTHON_EXECUTABLE before finding pybind11

0 commit comments

Comments
 (0)