Skip to content

Commit efe62f5

Browse files
[cmake] Fix DYNAMIC_GRAPH_PYTHON_MODULE pb.
1 parent 1ab1e48 commit efe62f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ FOREACH(plugin ${plugins})
234234
ENDFOREACH(plugin)
235235
236236
IF(BUILD_PYTHON_INTERFACE)
237-
DYNAMIC_GRAPH_PYTHON_MODULE("sot/core" ${SOTCORE_LIB_NAME} wrap)
237+
SET(NO_INSTALL_OF_INIT_PY 0)
238+
DYNAMIC_GRAPH_PYTHON_MODULE("sot/core" ${SOTCORE_LIB_NAME} wrap
239+
${NO_INSTALL_OF_INIT_PY})
238240
239241
# Install empty __init__.py files in intermediate directories.
240242
INSTALL(FILES

0 commit comments

Comments
 (0)