Skip to content

Commit 766db9e

Browse files
Fix link failure on macOS (#133)
### Motivation We need to link the Python shared library on non-Windows systems as well. Otherwise, some link errors might happen.
1 parent 1a2fb07 commit 766db9e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ endif()
8080
set(PYTHON_WRAPPER_LIBS
8181
${PULSAR_LIBRARY}
8282
)
83-
if (MSVC)
84-
set(PYTHON_WRAPPER_LIBS ${PYTHON_WRAPPER_LIBS} Python3::Module)
85-
endif ()
83+
set(PYTHON_WRAPPER_LIBS ${PYTHON_WRAPPER_LIBS} Python3::Module)
8684

8785
message(STATUS "All libraries: ${PYTHON_WRAPPER_LIBS}")
8886

0 commit comments

Comments
 (0)