We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67ff25b commit a5b8be5Copy full SHA for a5b8be5
CMake/SofaPython3Tools.cmake
@@ -117,7 +117,7 @@ function(SP3_add_python_module)
117
# We are doing manually what's usually done with pybind11_add_module(${A_TARGET} SHARED "${A_SOURCES}")
118
# since we got some problems on MacOS using recent versions of pybind11 where the SHARED argument wasn't taken
119
# into account
120
- python_add_library(${A_TARGET} SHARED "${A_SOURCES}")
+ python_add_library(${A_TARGET} SHARED ${A_HEADERS} ${A_SOURCES})
121
add_library(SofaPython3::${A_TARGET} ALIAS ${A_TARGET})
122
123
if ("${pybind11_VERSION}" VERSION_GREATER_EQUAL "2.6.0")
0 commit comments