Skip to content

Commit e85a25b

Browse files
committed
fix(cmake/module): create modules as SHARED library
Was of type `MODULE` before but that did not produce a correct library on MacOS
1 parent 954c2af commit e85a25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/module.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function(saucer_bindings_add_module NAME MACRO)
88
add_library(${MODULE_NAME} OBJECT)
99
target_link_libraries(${PROJECT_NAME} PUBLIC ${MODULE_NAME})
1010
else()
11-
add_library(${MODULE_NAME} MODULE)
11+
add_library(${MODULE_NAME} SHARED)
1212
endif()
1313

1414
add_library(${MODULE_ALIAS} ALIAS ${MODULE_NAME})

0 commit comments

Comments
 (0)