Skip to content

Commit a427fa0

Browse files
authored
[CMake] FIX SofaPython3Tools location in build tree (#140)
* [CMake] FIX SofaPython3Tools location Move SofaPython3Tools from `CMake` to `lib/cmake` in build tree and install tree. * Update CMakeLists.txt
1 parent 007e8db commit a427fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ sofa_create_package(
190190
RELOCATABLE "plugins"
191191
)
192192

193-
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/CMake/SofaPython3Tools.cmake" "${CMAKE_BINARY_DIR}/cmake/SofaPython3Tools.cmake" COPYONLY)
193+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/CMake/SofaPython3Tools.cmake" "${CMAKE_BINARY_DIR}/lib/cmake/SofaPython3Tools.cmake" COPYONLY)
194194
install(FILES
195195
"${CMAKE_CURRENT_SOURCE_DIR}/CMake/SofaPython3Tools.cmake"
196196
DESTINATION lib/cmake/SofaPython3

0 commit comments

Comments
 (0)